Skip to content

Commit

Permalink
fix GitHub's set_output deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
danfromtitan committed Dec 19, 2022
1 parent 1b4b092 commit ad1cf5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ jobs:

- id: image-output
run: |
echo ::set-output name=image-tag::$(echo '${{ steps.docker-build.outputs.metadata }}' | jq -r '."image.name" | split(",")[-1] | split(":")[-1]')
echo ::set-output name=image-name::$(echo '${{ steps.docker-build.outputs.metadata }}' | jq -r '."image.name"')
echo ::set-output name=image-digest::${{ steps.docker-build.outputs.digest }}
echo image-tag=$(echo '${{ steps.docker-build.outputs.metadata }}' | jq -r '."image.name" | split(",")[-1] | split(":")[-1]') >>$GITHUB_OUTPUT
echo image-name=$(echo '${{ steps.docker-build.outputs.metadata }}' | jq -r '."image.name"') >>$GITHUB_OUTPUT
echo image-digest=${{ steps.docker-build.outputs.digest }} >>$GITHUB_OUTPUT
chart:
needs: changes
Expand Down

0 comments on commit ad1cf5e

Please sign in to comment.