Skip to content

Commit

Permalink
fix sign workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tprasadtp committed Apr 15, 2024
1 parent c6b64f3 commit bec0ad3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,19 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable

- name: Install Task
run: go install github.com/go-task/task/v3/cmd/task@latest

- name: Shellcheck
run: make shellcheck
run: task --verbose shellcheck

- name: Update README
run: make update-readme
run: task --verbose update-readme

- name: Check if README is up-to date
run: git diff --exit-code README.md
Expand Down Expand Up @@ -94,7 +102,7 @@ jobs:
echo "failed to get digest"
exit 1
fi
echo "hash=${digest}" >> "$GITHUB_OUTPUT"
echo "digest=${digest}" >> "$GITHUB_OUTPUT"
sign:
if: github.event_name != 'pull_request'
Expand Down
3 changes: 2 additions & 1 deletion docs/slsa.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ All artifacts provided by this repository meet SLSA-L3.

- Install `slsa-verifier` from [slsa-verifier] project.
- Get digest of image index/manifest. GHCR UI provides the digest in the UI.
alternatively, docker command can be used.
alternatively, `docker`, `crane` or `cosign triangulate --type=digest` command
can be used.

```bash
docker images \
Expand Down

0 comments on commit bec0ad3

Please sign in to comment.