Skip to content

Commit

Permalink
Add multi-platform Docker image build
Browse files Browse the repository at this point in the history
  • Loading branch information
codedmonkey committed Dec 20, 2024
1 parent e5e87fc commit 9e91a8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64

-
name: Generate artifact attestation
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/docker-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ jobs:

-
name: Build Docker image
run: docker build .
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: false
platforms: linux/amd64,linux/arm64

0 comments on commit 9e91a8c

Please sign in to comment.