Skip to content

Commit 4e4b018

Browse files
committed
Add .sha256 checksums to all tarballs
Fixes #8 Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 2c2e4e2 commit 4e4b018

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-push.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,11 @@ jobs:
111111
tar cfz ${name}-oci-${arch}${SFX}.tar.gz ${name}-oci-${arch}${SFX}
112112
done
113113
ls -la *-oci*${SFX}/
114-
ls -l *.tar.gz
114+
for file in *.tar.gz; do
115+
sha256sum $file > $file.sha256
116+
done
117+
ls -l *.tar.gz*
118+
115119
- name: Log in to registry
116120
run: |
117121
echo "${{ secrets.token }}" | buildah login -u ${{ github.actor }} --password-stdin ghcr.io
@@ -135,7 +139,7 @@ jobs:
135139
prerelease: true
136140
tag: ${{ steps.vars.outputs.ver }}
137141
token: ${{ secrets.GITHUB_TOKEN }}
138-
artifacts: "*.tar.gz"
142+
artifacts: "*.tar.gz*"
139143
- name: Summary
140144
run: |
141145
cat <<EOF >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)