From 7ea39fb8eef42130315b6f74695ebdeb0d5b152b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 9 Nov 2023 10:11:14 +0000 Subject: [PATCH] =?UTF-8?q?Sync=20with=20whisper.cpp=20v1.4.3=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-docker.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 8f9eb0c..9db71dc 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -45,15 +45,18 @@ jobs: - name: 🏷️ Define Tags run: | + source $GITHUB_ENV # Always set the default tags - echo "TAGS=dublok/stt:${GITHUB_REF_NAME},dublok/stt:${SHA_SHORT}" >> $GITHUB_ENV + DEFAULT_TAGS="dublok/stt:${GITHUB_REF_NAME},dublok/stt:${SHA_SHORT}" + echo "TAGS=${DEFAULT_TAGS}" >> $GITHUB_ENV # Check if GITHUB_REF_NAME starts with 'v' and if so, append 'latest' if [[ $GITHUB_REF_NAME == v* ]]; then - echo "TAGS=${TAGS},dublok/stt:latest" >> $GITHUB_ENV + LATEST_TAGS="${DEFAULT_TAGS},dublok/stt:latest" + echo "TAGS=${LATEST_TAGS}" >> $GITHUB_ENV fi - - name: 🏷️ Echo Tags + - name: 🏷️ Tags run: | source $GITHUB_ENV echo "TAGS: ${TAGS}"