File tree Expand file tree Collapse file tree 1 file changed +32
-6
lines changed Expand file tree Collapse file tree 1 file changed +32
-6
lines changed Original file line number Diff line number Diff line change 28
28
29
29
- name : Run Core Test Cases
30
30
run : dotnet test OpenBudgeteer.Core.Test
31
- deploy-docker :
31
+ deploy-docker-app :
32
32
runs-on : ubuntu-latest
33
- name : Build and Push Docker Image
33
+ name : Build and Push Docker Image (App)
34
34
needs : test
35
35
if : success()
36
36
steps :
55
55
context : .
56
56
push : true
57
57
tags : axelander/openbudgeteer:latest
58
- # file: OpenBudgeteer.Blazor/Dockerfile
59
- # platforms: linux/arm64,linux/amd64
60
- platforms : linux/amd64
61
-
58
+ platforms : linux/arm64,linux/amd64
59
+ deploy-docker-api :
60
+ runs-on : ubuntu-latest
61
+ name : Build and Push Docker Image (API)
62
+ needs : test
63
+ if : success()
64
+ steps :
65
+ - name : Check out repo
66
+ uses : actions/checkout@v3
67
+
68
+ - name : Docker Login
69
+ uses : docker/login-action@v2
70
+ with :
71
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
72
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
73
+
74
+ - name : Set up QEMU
75
+ uses : docker/setup-qemu-action@v2
76
+
77
+ - name : Set up Docker Buildx
78
+ uses : docker/setup-buildx-action@v2
79
+
80
+ - name : Build and push Docker image
81
+ uses : docker/build-push-action@v4
82
+ with :
83
+ context : .
84
+ push : true
85
+ tags : axelander/openbudgeteer-api:latest
86
+ file : API.Dockerfile
87
+ platforms : linux/arm64,linux/amd64
You can’t perform that action at this time.
0 commit comments