add platform to justfile
This commit is contained in:
parent
d78fe29396
commit
9c50ebc634
1 changed files with 1 additions and 1 deletions
2
Justfile
2
Justfile
|
|
@ -1,6 +1,6 @@
|
||||||
image OS ARCH:
|
image OS ARCH:
|
||||||
if echo "{{OS}}" | grep -qi "redhat"; then \
|
if echo "{{OS}}" | grep -qi "redhat"; then \
|
||||||
docker buildx build --progress plain --build-arg GITHUB_PAT="$GITHUB_PAT" --build-arg RED_HAT_DEV_PW="$RED_HAT_DEV_PW" -f docker/Dockerfile-{{OS}} -t devxygmbh/arm64-binaries-r-{{OS}}:latest --push .; \
|
docker buildx build --progress plain --build-arg ARCH={{ARCH}} --build-arg GITHUB_PAT="$GITHUB_PAT" --build-arg RED_HAT_DEV_PW="$RED_HAT_DEV_PW" --platform linux/{{ARCH}} -f docker/Dockerfile-{{OS}} -t devxygmbh/{{ARCH}}-binaries-r-{{OS}}:latest --push .; \
|
||||||
else \
|
else \
|
||||||
docker buildx build --progress plain --build-arg GITHUB_PAT="$GITHUB_PAT" --build-arg ARCH={{ARCH}} -f docker/Dockerfile-{{OS}} --platform linux/{{ARCH}} -t devxygmbh/{{ARCH}}-binaries-r-{{OS}}:latest --push .; \
|
docker buildx build --progress plain --build-arg GITHUB_PAT="$GITHUB_PAT" --build-arg ARCH={{ARCH}} -f docker/Dockerfile-{{OS}} --platform linux/{{ARCH}} -t devxygmbh/{{ARCH}}-binaries-r-{{OS}}:latest --push .; \
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue