1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix: release archive name template (#8475) (#8477)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
gcp-cherry-pick-bot[bot] 2023-09-21 00:18:48 +00:00 committed by GitHub
parent 1bcacc66a8
commit 7a49dc8820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Setup build env
uses: ./.github/actions/setup-build-env
timeout-minutes: 20
timeout-minutes: 30
with:
build-cache-key: release-images
- name: Run Trivy vulnerability scanner in repo mode
@ -230,7 +230,7 @@ jobs:
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Setup build env
uses: ./.github/actions/setup-build-env
timeout-minutes: 20
timeout-minutes: 30
- uses: creekorful/goreportcard-action@1f35ced8cdac2cba28c9a2f2288a16aacfd507f9 # v1.0
- name: Install Cosign
uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2

View file

@ -44,12 +44,12 @@ archives:
- id: kyverno-cli-archive
name_template: |-
kyverno-cli_{{ .Tag }}_{{ .Os }}_
{{ - with .Arch - }}
{{ - if eq . "amd64" - }}x86_64{{- else if eq . "386" -}}i386{{- else -}}{{- . -}}{{- end -}}
{{ - end - }}
{{ - with .Arm - }}
{{ - if eq . "6" - }}hf{{- else -}}v{{- . -}}{{- end -}}
{{ - end - }}
{{- with .Arch -}}
{{- if eq . "amd64" -}}x86_64{{- else if eq . "386" -}}i386{{- else -}}{{- . -}}{{- end -}}
{{- end -}}
{{- with .Arm -}}
{{- if eq . "6" -}}hf{{- else -}}v{{- . -}}{{- end -}}
{{- end -}}
builds:
- kyverno-cli
format_overrides: