mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 02:51:48 +02:00
Fix container build script
This commit is contained in:
parent
8c98edb604
commit
3728e282e3
@ -15,12 +15,6 @@ if ! git diff-index --quiet HEAD --; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
# Get the appropriate version of the container using git
|
||||||
VERSION=$(git rev-parse --abbrev-ref HEAD)-$(git describe)
|
VERSION=$(git rev-parse --abbrev-ref HEAD)-$(git describe)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user