Skip to content

Commit

Permalink
workflows: Add arch option to docker build command
Browse files Browse the repository at this point in the history
  • Loading branch information
pataxis committed May 21, 2024
1 parent d134bcb commit 9f4941e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
cd $EXNAME
docker pull --platform=${{ matrix.platformarch}} alpine:$alpinetag
docker save -o alpine.tar alpine:$alpinetag
docker build --no-cache --tag $imagetag --output build .
docker build --no-cache --tag $imagetag --build-arg ARCH=${{ matrix.arch }} --output build .
cd ..
docker image rm -f $imagetag

0 comments on commit 9f4941e

Please sign in to comment.