Skip to content

Commit

Permalink
docker: update tag.sh to add a nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
incrypto32 committed May 9, 2024
1 parent 2dc7516 commit 4869e73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ tag_and_push "$SHORT_SHA"
# Builds for tags vN.N.N become the 'latest'
[[ "$TAG_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] && tag_and_push latest

# If the build is from the master branch, tag it as 'nightly'
[ "$BRANCH_NAME" = "master" ] && tag_and_push nightly

exit 0

0 comments on commit 4869e73

Please sign in to comment.