Skip to content

Commit

Permalink
github: Don't set the load flag to docker/build-push-action if push i…
Browse files Browse the repository at this point in the history
…s set

With buildx, both push and load flags can't be set at the same time.
  • Loading branch information
mstorsjo committed Feb 21, 2024
1 parent 489a96c commit 908f88f
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 @@ -105,7 +105,7 @@ jobs:
platforms: linux/arm64
push: ${{inputs.push}}
file: ./Dockerfile.toolchain
load: true
load: ${{!inputs.push}}
tags: |
mstorsjo/llvm-mingw:latest
mstorsjo/llvm-mingw:${{needs.prepare.outputs.TAG}}
Expand Down

0 comments on commit 908f88f

Please sign in to comment.