From 2dee5a25ecbaed647ebc41fd1852fd80f09694af Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 10 Nov 2024 21:54:52 +0100 Subject: [PATCH] Removed unrequired git command from `update-image-registry.sh`. --- .drone/update-image-registry.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.drone/update-image-registry.sh b/.drone/update-image-registry.sh index 60ba87cde0..bdda741ffa 100755 --- a/.drone/update-image-registry.sh +++ b/.drone/update-image-registry.sh @@ -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"