Skip to content

Commit 02d5aa9

Browse files
committed
fix: goreleaser with docker
1 parent 0910091 commit 02d5aa9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.goreleaser.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ dockers:
9494
- "outblocks/cli:gcloud"
9595
- "outblocks/cli:{{ .Tag }}-gcloud"
9696
- "outblocks/cli:v{{ .Major }}-gcloud"
97+
- "outblocks/cli:v{{ .Major }}.{{ .Minor }}-gcloud"
9798
dockerfile: dockerfiles/Dockerfile.gcloud
9899
build_flag_templates:
99100
- "--pull"
@@ -102,7 +103,7 @@ dockers:
102103
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
103104
- "--label=org.opencontainers.image.version={{.Version}}"
104105
- "--build-arg=GCLOUD_TAG=latest"
105-
- "--platform=linux/arm64"
106+
- "--platform=linux/amd64"
106107

107108
- id: gcloud-alpine
108109
goos: linux
@@ -111,6 +112,7 @@ dockers:
111112
- "outblocks/cli:gcloud-alpine"
112113
- "outblocks/cli:{{ .Tag }}-gcloud-alpine"
113114
- "outblocks/cli:v{{ .Major }}-gcloud-alpine"
115+
- "outblocks/cli:v{{ .Major }}.{{ .Minor }}-gcloud-alpine"
114116
dockerfile: dockerfiles/Dockerfile.gcloud
115117
build_flag_templates:
116118
- "--pull"
@@ -119,4 +121,4 @@ dockers:
119121
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
120122
- "--label=org.opencontainers.image.version={{.Version}}"
121123
- "--build-arg=GCLOUD_TAG=alpine"
122-
- "--platform=linux/arm64"
124+
- "--platform=linux/amd64"

0 commit comments

Comments
 (0)