-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.2 KB
/
docker-publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build and Publish
on:
push:
branches: [ "main" ]
jobs:
build-push-storage-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/docker-build-and-push
name: build and push
with:
image-name: "Storage-API"
dockerfile: "./LeedsExperiment/Storage.API/Dockerfile"
context: "./LeedsExperiment/"
github-token: ${{ secrets.GITHUB_TOKEN }}
build-push-preservation-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/docker-build-and-push
name: build and push
with:
image-name: "Preservation-API"
dockerfile: "./LeedsExperiment/Preservation.API/Dockerfile"
context: "./LeedsExperiment/"
github-token: ${{ secrets.GITHUB_TOKEN }}
build-push-dashboard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/docker-build-and-push
with:
image-name: "dashboard"
dockerfile: "./LeedsExperiment/Dashboard/Dockerfile"
context: "./LeedsExperiment/"
github-token: ${{ secrets.GITHUB_TOKEN }}