Fix container build script

This commit is contained in:
Phillip Kühne 2023-10-04 00:17:52 +00:00
parent 8c98edb604
commit 3728e282e3
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA

View File

@ -15,12 +15,6 @@ if ! git diff-index --quiet HEAD --; then
exit 1
fi
# Check if the user is logged into ghcr.io
if ! docker info | grep -q "Username: $USERNAME"; then
echo "You are not logged into ghcr.io. Please run 'docker login ghcr.io' and try again."
exit 1
fi
# Get the appropriate version of the container using git
VERSION=$(git rev-parse --abbrev-ref HEAD)-$(git describe)