Skip to content

Commit

Permalink
Testing multi platform build.
Browse files Browse the repository at this point in the history
  • Loading branch information
linus-berg committed Sep 8, 2024
1 parent 60fa2b8 commit 0264548
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image and push to Docker Hub and GitHub Container Registry
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
# relative path to the place where source code with Dockerfile is located
platforms: linux/amd64,linux/arm64
context: .
file: ./${{ matrix.services.directory }}/Dockerfile
# Note: tags has to be all lower-case
Expand Down

0 comments on commit 0264548

Please sign in to comment.