Skip to content

Commit

Permalink
add latest tag for non-prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
celloman committed May 5, 2021
1 parent f5b3009 commit 4b5d138
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release-build-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,11 @@ jobs:
docker tag "p8e-ui:$VERSION" $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
PRERELEASE=${{ github.event.release.prerelease }}
echo PRERELEASE=$PRERELEASE
if [ "$PRERELEASE" == "false" ]; then
docker tag "p8e-ui:$VERSION" $IMAGE_ID:latest
docker push $IMAGE_ID:latest
fi

0 comments on commit 4b5d138

Please sign in to comment.