Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(suzuki-shunsuke/mkghtag): verify GitHub Artifact Attestations #27123

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pkgs/suzuki-shunsuke/mkghtag/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
packages:
- name: suzuki-shunsuke/[email protected]
- name: suzuki-shunsuke/[email protected]
- name: suzuki-shunsuke/mkghtag
version: v0.1.4
- name: suzuki-shunsuke/mkghtag
version: v0.1.0
27 changes: 27 additions & 0 deletions pkgs/suzuki-shunsuke/mkghtag/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,29 @@ packages:
format: zip
slsa_provenance:
enabled: false
- version_constraint: semver("<= 0.1.4")
asset: mkghtag_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
overrides:
- goos: windows
format: zip
slsa_provenance:
type: github_release
asset: multiple.intoto.jsonl
checksum:
type: github_release
asset: mkghtag_{{trimV .Version}}_checksums.txt
algorithm: sha256
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/suzuki-shunsuke/go-release-workflow/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/suzuki-shunsuke/mkghtag/releases/download/{{.Version}}/mkghtag_{{trimV .Version}}_checksums.txt.sig
- --certificate
- https://github.com/suzuki-shunsuke/mkghtag/releases/download/{{.Version}}/mkghtag_{{trimV .Version}}_checksums.txt.pem
- version_constraint: "true"
asset: mkghtag_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
Expand All @@ -39,10 +62,14 @@ packages:
slsa_provenance:
type: github_release
asset: multiple.intoto.jsonl
github_artifact_attestations:
signer-workflow: suzuki-shunsuke/go-release-workflow/.github/workflows/release.yaml
checksum:
type: github_release
asset: mkghtag_{{trimV .Version}}_checksums.txt
algorithm: sha256
github_artifact_attestations:
signer-workflow: suzuki-shunsuke/go-release-workflow/.github/workflows/release.yaml
cosign:
opts:
- --certificate-identity-regexp
Expand Down
27 changes: 27 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading