Add bash script instead of inline
All checks were successful
Publish Builder Image / build-and-push (push) Successful in 3m15s
All checks were successful
Publish Builder Image / build-and-push (push) Successful in 3m15s
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user