Skip to content

Commit

Permalink
Prevent 2.2.x being tagged as latest (#330)
Browse files Browse the repository at this point in the history
* Bump to 2.2.3

* Remove "latest" tag from 2.2.x release

* better latest handling
  • Loading branch information
hardillb authored Aug 4, 2022
1 parent 5908372 commit 3aae1a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ jobs:
VERSION=${TRAVIS_TAG:1}
if [[ "${{ matrix.node }}" == "${{ env.LATEST_NODE }}" && "${{ matrix.suffix }}" == "" ]]; then
TAGS="$TAGS,$IMAGE:$VERSION,$IMAGE:latest"
TAGS="$TAGS,$IMAGE:$VERSION"
elif [[ "${{ matrix.node }}" == "${{ env.LATEST_NODE }}" && "${{ matrix.suffix }}" == "-minimal" ]]; then
TAGS="$TAGS,$IMAGE:$VERSION-minimal,$IMAGE:latest-minimal"
TAGS="$TAGS,$IMAGE:$VERSION-minimal"
fi
TAGS="$TAGS,$IMAGE:latest-${{ matrix.node }}${{ matrix.suffix }}"
# TAGS="$TAGS,$IMAGE:latest-${{ matrix.node }}${{ matrix.suffix }}"
else
IMAGE=${{ env.DEV_IMAGE }}
Expand Down

0 comments on commit 3aae1a0

Please sign in to comment.