Removed unrequired git command from update-image-registry.sh.

This commit is contained in:
Fabio Manganiello 2024-11-10 21:54:52 +01:00
parent 2410d892f5
commit 2dee5a25ec
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -3,7 +3,6 @@
export VERSION=$(grep current_version pyproject.toml | sed -r -e "s/.*=\s*['\"]?([^'\"]+)['\"]?\s*$/\1/")
export IMAGE_NAME="$REGISTRY_ENDPOINT/$DOCKER_USER/platypush"
git config --global --add safe.directory /app
docker login "$REGISTRY_ENDPOINT" -u "$DOCKER_USER" -p "$DOCKER_PASS"
docker build -f Dockerfile.alpine -t "$IMAGE_NAME:$VERSION" .
docker tag "$IMAGE_NAME:$VERSION" "$IMAGE_NAME:latest"