Skip to content

Commit

Permalink
try to publish for multi arch?
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaprar committed Jun 1, 2024
1 parent 6063d0c commit 799d703
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
permissions:
packages: write
contents: read
strategy:
matrix:
platform: [linux/amd64, linux/arm64, linux/arm]
steps:
- uses: actions/checkout@v4

- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}" --platform ${{ matrix.platform }}

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
Expand Down

0 comments on commit 799d703

Please sign in to comment.