Fix build script

This commit is contained in:
Phillip Kühne 2023-10-04 00:19:14 +00:00
parent 4561f5f376
commit 3b4152f89f
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA

View File

@ -19,7 +19,7 @@ fi
VERSION=$(git rev-parse --abbrev-ref HEAD)-$(git describe) VERSION=$(git rev-parse --abbrev-ref HEAD)-$(git describe)
# Build the container. Add the version as a tag and as ENV variable SOURCE_VERSION # Build the container. Add the version as a tag and as ENV variable SOURCE_VERSION
docker build -t ghcr.io/$USERNAME/:$VERSION --build-arg SOURCE_VERSION=$VERSION . docker build -t ghcr.io/$USERNAME/karaoqueue:$VERSION --build-arg SOURCE_VERSION=$VERSION .
# Ask the user if they want to push the container. Confirm Version. # Ask the user if they want to push the container. Confirm Version.
read -p "Push container to ghcr.io/$USERNAME/karaoqueue:$VERSION? [y/n] " -n 1 -r read -p "Push container to ghcr.io/$USERNAME/karaoqueue:$VERSION? [y/n] " -n 1 -r