Skip to content

Commit

Permalink
final removal of set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
binhex committed Jan 23, 2023
1 parent cef8ec7 commit ff57acd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workflow-docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff57acd

Please sign in to comment.