Skip to content

Commit

Permalink
updated docker workflow to use multiplatform image
Browse files Browse the repository at this point in the history
  • Loading branch information
realkaranvir committed Dec 7, 2024
1 parent 51cc4cc commit 5ea4b5f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Docker Image CI/CD
on:
push:
branches:
- master
- karan
pull_request:
branches:
- master
- karan

jobs:
push_to_registry:
Expand Down Expand Up @@ -50,6 +50,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platform: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
push: ${{ github.event_name != 'pull_request' }}
Expand Down

0 comments on commit 5ea4b5f

Please sign in to comment.