Skip to content

Commit

Permalink
Build arm64 Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Jan 1, 2024
1 parent 5b4d969 commit cc0d739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: ${{ inputs.arm64 && 'linux/amd64,linux/arm64' || '' }}
platforms: ${{ (github.event_name == 'push' || inputs.arm64) && 'linux/amd64,linux/arm64' || '' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: | # Julia's Pkg expects a Git repository
Expand Down

0 comments on commit cc0d739

Please sign in to comment.