From c37183048ac16aa8185abaef8c7428a1f18c9d09 Mon Sep 17 00:00:00 2001 From: binhex Date: Mon, 23 Jan 2023 10:42:09 +0000 Subject: [PATCH] final removal of set-output --- .github/workflows/workflow-docker-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow-docker-release.yml b/.github/workflows/workflow-docker-release.yml index a559a09..a31918c 100644 --- a/.github/workflows/workflow-docker-release.yml +++ b/.github/workflows/workflow-docker-release.yml @@ -44,17 +44,17 @@ jobs: command: | export - name: Identify GitHub Release tag name - # get tag name from runners environment 'GITHUB_REF' and then use bash substring + # get tag name from runners environment 'GITHUB_REF_NAME' and then use bash substring # to strip out '+' symbol - required due to gcr not supporting this as a tag # name (docker hub does support it). - # note if push is NOT triggered by tag then 'GITHUB_REF' will be the branch name. + # note if push is NOT triggered by tag then 'GITHUB_REF_NAME' will be the branch name. uses: nick-fields/retry@v2 with: timeout_minutes: 5 max_attempts: 3 retry_wait_seconds: 120 command: | - echo "##[set-output name=tag;]$(tag_name=${GITHUB_REF#refs/tags/} && echo "${tag_name//+/-}")" + tag="${GITHUB_REF_NAME}" && echo "tag=${tag//+/-}" >> $GITHUB_OUTPUT id: identify_github_release_tag_name - name: Generate temporary tag name shell: bash