Add bash script instead of inline
All checks were successful
Publish Builder Image / build-and-push (push) Successful in 3m15s

This commit is contained in:
2025-12-01 21:11:56 +01:00
parent 9dee58b6ab
commit 97eede39f7
3 changed files with 27 additions and 55 deletions

View File

@ -20,13 +20,6 @@ jobs:
TAG: ${{ gitea.sha }}
with:
entrypoint: /bin/sh
args: -c "
buildah login -u $USERNAME -p $PASSWORD --tls-verify=false --storage-driver=vfs $REGISTRY &&
buildah build --tls-verify=false --storage-driver=vfs -t $REGISTRY/$IMAGE:$TAG -t $REGISTRY/$IMAGE:latest . &&
buildah push --tls-verify=false --storage-driver=vfs $REGISTRY/$IMAGE:$TAG &&
buildah push --tls-verify=false --storage-driver=vfs $REGISTRY/$IMAGE:latest
"
# We just tell it to run the script we checked out
args: ./build.sh