Skip to content

Commit

Permalink
Update generate-base-images.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
NorseGaud authored Jul 16, 2019
1 parent a47a939 commit d0b0206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cicd/generate-base-images.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -eo pipefail

[[ -z $1 ]] && echo "Must provide the distro IMAGE_TAG name (example: ubuntu-18.04) OR provide 'trigger' if this is the first step in a pipeline" && exit 1
[[ -z $1 ]] && echo "Must provide the distro IMAGE_TAG name (example: ubuntu-18.04)" && exit 1
export IMAGE_TAG=$1

function determine-hash() {
Expand Down Expand Up @@ -35,4 +35,4 @@ if docker pull eosio/producer:ci-${HASHED_IMAGE_TAG}; then
echo "eosio/producer:ci-${HASHED_IMAGE_TAG} already exists"
else
generate_docker_image
fi
fi

0 comments on commit d0b0206

Please sign in to comment.