Skip to content

Commit

Permalink
fix set-output deprecation messages in apko-publish
Browse files Browse the repository at this point in the history
- kudos to @andros21 for the fix in chainguard-images#127
- fixes chainguard-images#140

```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Co-authored-by: andros21 <[email protected]>
  • Loading branch information
neumayr and andros21 authored Aug 1, 2024
1 parent ff301bb commit 70a7429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apko-publish/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,6 @@ runs:
${{ inputs.debug && '--log-level debug' }} \
--image-refs="${{ inputs.image_refs }}" ${{ inputs.config }} ${{ inputs.tag }} $keys $repos $packages $archs $build_options $sbomPath | tee ${DIGEST_FILE}
echo EXIT CODE: $?
echo ::set-output name=digest::$(cat ${DIGEST_FILE})
echo "digest=$(cat ${DIGEST_FILE})" >> $GITHUB_OUTPUT
EOF
)"

0 comments on commit 70a7429

Please sign in to comment.