Skip to content

Commit

Permalink
Merge branch 'pre-release'
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAxelander committed Mar 16, 2024
2 parents 45b76bd + f81a46b commit a0d7af4
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions .github/workflows/docker-image-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:

- name: Run Core Test Cases
run: dotnet test OpenBudgeteer.Core.Test
deploy-docker:
deploy-docker-app:
runs-on: ubuntu-latest
name: Build and Push Docker Image
name: Build and Push Docker Image (App)
needs: test
if: success()
steps:
Expand All @@ -55,7 +55,33 @@ jobs:
context: .
push: true
tags: axelander/openbudgeteer:latest
# file: OpenBudgeteer.Blazor/Dockerfile
# platforms: linux/arm64,linux/amd64
platforms: linux/amd64

platforms: linux/arm64,linux/amd64
deploy-docker-api:
runs-on: ubuntu-latest
name: Build and Push Docker Image (API)
needs: test
if: success()
steps:
- name: Check out repo
uses: actions/checkout@v3

- name: Docker Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: axelander/openbudgeteer-api:latest
file: API.Dockerfile
platforms: linux/arm64,linux/amd64

0 comments on commit a0d7af4

Please sign in to comment.