Skip to content

Commit 24474da

Browse files
authored
1 parent 2fc92c6 commit 24474da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-container-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Get short commit SHA
3737
if: ${{ github.event_name == 'push' }}
3838
id: get_short_commit_SHA
39-
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
39+
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
4040

4141
- name: Build Image
4242
if: ${{ github.event_name == 'push' }}
@@ -49,7 +49,7 @@ jobs:
4949
- name: Get tag name
5050
if: ${{ github.event_name == 'release' }}
5151
id: get_tag_name
52-
run: echo "::set-output name=TAG_NAME::${{ github.event.release.tag_name }}"
52+
run: echo "TAG_NAME=${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT
5353

5454
- name: Build Image for Release
5555
if: ${{ github.event_name == 'release' }}

0 commit comments

Comments
 (0)