From d9f81108e366e3b22fe9d2a1114c34d8ed106498 Mon Sep 17 00:00:00 2001 From: v-chen_data Date: Tue, 24 Sep 2024 13:05:26 -0700 Subject: [PATCH] rearrange comments --- .github/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eff3c9b378..9ef36a926e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -65,15 +65,14 @@ jobs: TAG_NAME=$(echo "${BRANCH_NAME}" | sed 's/\//_/g') echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_ENV - # Official release (tag) if [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == refs/tags/v* ]]; then + # Official release (tag) echo "DOCKER_TAG=mosaicml/llm-foundry:release_${TAG_NAME}" >> $GITHUB_ENV echo "AWS_DOCKER_TAG=mosaicml/llm-foundry:release_${TAG_NAME}_aws" >> $GITHUB_ENV echo "LATEST_TAG=mosaicml/llm-foundry:release-latest" >> $GITHUB_ENV echo "AWS_LATEST_TAG=mosaicml/llm-foundry:release_aws-latest" >> $GITHUB_ENV - # Testing release (manual) else - # Test release (branch & manual run) + # Testing release (manual) echo "DOCKER_TAG=mosaicml/llm-foundry:test_release_${TAG_NAME}" >> $GITHUB_ENV echo "AWS_DOCKER_TAG=mosaicml/llm-foundry:test_release_${TAG_NAME}_aws" >> $GITHUB_ENV fi