Skip to content

Commit

Permalink
Fix exit status 1
Browse files Browse the repository at this point in the history
  • Loading branch information
BytewaveMLP committed Sep 1, 2020
1 parent c02464e commit 17f9c7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ jobs:
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
echo "Pushing :$VERSION..."
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
[ "$VERSION" != "dev" ] \
&& echo "Pushing :latest..." \
&& docker tag $IMAGE_NAME $IMAGE_ID:latest \
&& docker push $IMAGE_ID:latest
echo "All done!"

0 comments on commit 17f9c7e

Please sign in to comment.