Skip to content

Commit

Permalink
preparing for 0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaleta committed Dec 9, 2020
1 parent ad2972d commit f8fbd5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_and_test_platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,20 @@ if [ -z "$TAG" ]; then
echo "No Tag defined exiting"
exit 0
fi

if [ -z "$DOCKER_USER" ]; then
echo "No docker user defined exiting"
exit 0
fi
echo "preparing to tag and push docker hub asset for TAG: $TAG"
if [ -z "$DOCKER_PASSWORD" ]; then
echo "No docker password defined exiting"
exit 0
exit 1
fi

docker_asset=${REPO_SLUG}-${ruby_version}-${platform}:${asset_version}

echo "Docker Hub Asset: ${docker_asset}"
echo "preparing to tag and push docker hub asset"

echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USER" --password-stdin

Expand Down

0 comments on commit f8fbd5d

Please sign in to comment.