Skip to content

Commit

Permalink
Merge pull request #9 from github/remove-pipe-null
Browse files Browse the repository at this point in the history
Remove pipe to /dev/null
  • Loading branch information
codysoyland authored Jun 4, 2024
2 parents a973c03 + a0fe51d commit df146ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
# helm show chart prints the digest to stderr, so redirect stderr and
# extract the digest from the output
digest=$(helm show chart oci://${{ env.REGISTRY }}/${{ github.repository }}/${{ steps.release-details.outputs.chart_name }} --version ${{ steps.release-details.outputs.chart_version }} 2>&1 >/dev/null | grep "^Digest" | sed 's/^Digest: //')
digest=$(helm show chart oci://${{ env.REGISTRY }}/${{ github.repository }}/${{ steps.release-details.outputs.chart_name }} --version ${{ steps.release-details.outputs.chart_version }} | grep "^Digest" | sed 's/^Digest: //')
echo digest=$digest >> $GITHUB_OUTPUT
- name: Attest
uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2
Expand Down

0 comments on commit df146ca

Please sign in to comment.