Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lucagiove authored Feb 4, 2023
1 parent 56677f6 commit a4d01f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ REMOTE_IMAGE_PATH_WITH_TAG="$REMOTE_IMAGE_PATH:$VERSION_CODE"

gcloud auth configure-docker

docker build -t goleedev/$SERVICE_NAME:$VERSION_CODE .
DOCKER_BUILDKIT=1 docker build -t goleedev/$SERVICE_NAME:$VERSION_CODE .
docker tag goleedev/$SERVICE_NAME:$VERSION_CODE $REMOTE_IMAGE_PATH_WITH_TAG
docker tag $REMOTE_IMAGE_PATH_WITH_TAG "${REMOTE_IMAGE_PATH}:latest-${branch_name}"
docker image push --all-tags $REMOTE_IMAGE_PATH

echo "::set-output name=image_path::$REMOTE_IMAGE_PATH_WITH_TAG"
echo "::set-output name=image_path::$REMOTE_IMAGE_PATH_WITH_TAG"

0 comments on commit a4d01f0

Please sign in to comment.