Skip to content

Commit b68b33f

Browse files
committed
chore: fix verify step and linter findings
1 parent 82a9474 commit b68b33f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
env:
131131
GH_TOKEN: ${{ github.token }}
132132
run: |
133-
gh attestation verify oci://${{ env.REGISTRY }}/${{ github.repository }}-${{ matrix.flavor }} --owner "$GITHUB_REPOSITORY_OWNER"
133+
gh attestation verify --owner "$GITHUB_REPOSITORY_OWNER" oci://${{ env.REGISTRY }}/${{ github.repository }}-${{ matrix.flavor }}@${{ steps.build-and-push.outputs.digest }}
134134
acceptance-test:
135135
if: github.event_name == 'pull_request'
136136
needs: build-push

.github/workflows/package-published.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
registry_package:
66
types: [published]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
attach-provenance-to-release:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)