From 3aae1a0d6def1378fdc048ecd730bd018512ac2f Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Thu, 4 Aug 2022 17:31:38 +0100 Subject: [PATCH] Prevent 2.2.x being tagged as latest (#330) * Bump to 2.2.3 * Remove "latest" tag from 2.2.x release * better latest handling --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 813400c8..407b66e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }}