Skip to content

Commit 067d587

Browse files
committed
build: fix kubectl version again
1 parent 073b702 commit 067d587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ dockers:
7575
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
7676
- "--label=org.opencontainers.image.version={{.Version}}"
7777
- "--label=org.opencontainers.image.source={{.GitURL}}"
78-
- "--build-arg=KUBECTL_VERSION=v{{trimprefix .Version 'v'}}"
78+
- '--build-arg=KUBECTL_VERSION=v{{trimprefix .Version "v"}}'
7979
- image_templates:
8080
# Specify the image tag including `-amd64v8` suffix if the build is not a snapshot build or is not being built on
8181
# arm64 machine. This allows for using the snapshot image build without the architecture specific suffix
@@ -96,7 +96,7 @@ dockers:
9696
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
9797
- "--label=org.opencontainers.image.version={{.Version}}"
9898
- "--label=org.opencontainers.image.source={{.GitURL}}"
99-
- "--build-arg=KUBECTL_VERSION=v{{trimprefix .Version 'v'}}"
99+
- '--build-arg=KUBECTL_VERSION=v{{trimprefix .Version "v"}}'
100100
docker_manifests:
101101
- name_template: ghcr.io/d2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}
102102
image_templates:

0 commit comments

Comments
 (0)