chore: readd justfile rule for images

This commit is contained in:
Patrick Schratz 2024-11-26 22:58:10 +01:00
commit b5a64a362b
Signed by: pat-s
GPG key ID: 3C6318841EF78925
2 changed files with 7 additions and 1 deletions

File diff suppressed because one or more lines are too long

6
Justfile Normal file
View file

@ -0,0 +1,6 @@
image OS ARCH:
if echo "{{OS}}" | grep -qi "redhat"; then \
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/Containerfile-{{OS}} -t devxygmbh/{{ARCH}}-binaries-r-{{OS}}:latest --push .; \
else \
docker buildx build --progress plain --build-arg GITHUB_PAT="$GITHUB_PAT" --build-arg ARCH={{ARCH}} -f docker/Containerfile-{{OS}} --platform linux/{{ARCH}} -t devxygmbh/{{ARCH}}-binaries-r-{{OS}}:latest --push .; \
fi