Skip to content

Commit

Permalink
fix(openvex/vexctl): configure cosign
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jan 23, 2025
1 parent ace5955 commit 4e8916a
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 8 deletions.
2 changes: 0 additions & 2 deletions pkgs/openvex/vexctl/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ packages:
- name: openvex/[email protected]
- name: openvex/vexctl
version: v0.2.5
- name: openvex/vexctl
version: v0.2.0
43 changes: 40 additions & 3 deletions pkgs/openvex/vexctl/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,59 @@ packages:
description: A tool to create, transform and attest VEX metadata
version_constraint: "false"
version_overrides:
- version_constraint: semver("<= 0.2.0")
- version_constraint: semver("<= 0.2.5")
asset: vexctl-{{.OS}}-{{.Arch}}
format: raw
windows_arm_emulation: true
complete_windows_ext: false
checksum:
type: github_release
asset: vex_checksums.txt
algorithm: sha256
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/openvex/vexctl/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/openvex/vexctl/releases/download/{{.Version}}/vex_checksums.txt.sig
- --certificate
- https://github.com/openvex/vexctl/releases/download/{{.Version}}/vex_checksums.txt.pem
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/openvex/vexctl/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/openvex/vexctl/releases/download/{{.Version}}/{{.Asset}}.sig
- --certificate
- https://github.com/openvex/vexctl/releases/download/{{.Version}}/{{.Asset}}.pem
- version_constraint: "true"
asset: vexctl-{{.OS}}-{{.Arch}}
format: raw
windows_arm_emulation: true
complete_windows_ext: false
checksum:
type: github_release
asset: vexctl_checksums.txt
algorithm: sha256
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/openvex/vexctl/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/openvex/vexctl/releases/download/{{.Version}}/vexctl_checksums.txt.sig
- --certificate
- https://github.com/openvex/vexctl/releases/download/{{.Version}}/vexctl_checksums.txt.pem
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/openvex/vexctl/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/openvex/vexctl/releases/download/{{.Version}}/{{.Asset}}.sig
- --certificate
- https://github.com/openvex/vexctl/releases/download/{{.Version}}/{{.Asset}}.pem
43 changes: 40 additions & 3 deletions registry.yaml

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

0 comments on commit 4e8916a

Please sign in to comment.