Skip to content

Commit

Permalink
$INPUT_IMAGE_TAG2
Browse files Browse the repository at this point in the history
  • Loading branch information
FerLuisxd authored Jun 17, 2020
1 parent 1c5ac01 commit 7b1036d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
IMAGE_NAME="$INPUT_GCR_HOST/$GOOGLE_PROJECT_ID/$INPUT_IMAGE_NAME:$INPUT_IMAGE_TAG"

echo $GCLOUD_SERVICE_KEY | docker login -u _json_key --password-stdin https://$INPUT_GCR_HOST/
if [[ -z $INPUT_IMAGE_TAG2 ]]; then
if [[ -z "$INPUT_IMAGE_TAG2" ]]; then
docker build -t $IMAGE_NAME .
else
docker build -t $IMAGE_NAME -t $INPUT_IMAGE_TAG2 .
Expand Down

0 comments on commit 7b1036d

Please sign in to comment.