Skip to content

Commit 55f86e9

Browse files
committed
fix goreleaser
1 parent 195814a commit 55f86e9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.goreleaser.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ release:
7979
dockers:
8080
# GitHub Container Registry - amd64
8181
- image_templates:
82-
- "ghcr.io/sirrobot01/mcpulse:{{ .Tag }}"
83-
- "ghcr.io/sirrobot01/mcpulse:latest"
82+
- "ghcr.io/sirrobot01/mcpulse:{{ .Tag }}-amd64"
83+
- "ghcr.io/sirrobot01/mcpulse:latest-amd64"
8484
use: buildx
8585
dockerfile: docker/Dockerfile.goreleaser
8686
build_flag_templates:
@@ -109,8 +109,8 @@ dockers:
109109

110110
# Docker Hub - amd64
111111
- image_templates:
112-
- "docker.io/cy01/mcpulse:{{ .Tag }}"
113-
- "docker.io/cy01/mcpulse:latest"
112+
- "docker.io/cy01/mcpulse:{{ .Tag }}-amd64"
113+
- "docker.io/cy01/mcpulse:latest-amd64"
114114
use: buildx
115115
dockerfile: docker/Dockerfile.goreleaser
116116
build_flag_templates:
@@ -139,21 +139,21 @@ dockers:
139139

140140
docker_manifests:
141141
# GHCR manifests
142-
- name_template: "ghcr.io/sirrobot01/mcpulse:{{ .Version }}"
142+
- name_template: "ghcr.io/sirrobot01/mcpulse:{{ .Tag }}"
143143
image_templates:
144-
- "ghcr.io/sirrobot01/mcpulse:{{ .Version }}-amd64"
145-
- "ghcr.io/sirrobot01/mcpulse:{{ .Version }}-arm64"
144+
- "ghcr.io/sirrobot01/mcpulse:{{ .Tag }}-amd64"
145+
- "ghcr.io/sirrobot01/mcpulse:{{ .Tag }}-arm64"
146146

147147
- name_template: "ghcr.io/sirrobot01/mcpulse:latest"
148148
image_templates:
149149
- "ghcr.io/sirrobot01/mcpulse:latest-amd64"
150150
- "ghcr.io/sirrobot01/mcpulse:latest-arm64"
151151

152152
# Docker Hub manifests
153-
- name_template: "docker.io/cy01/mcpulse:{{ .Version }}"
153+
- name_template: "docker.io/cy01/mcpulse:{{ .Tag }}"
154154
image_templates:
155-
- "docker.io/cy01/mcpulse:{{ .Version }}-amd64"
156-
- "docker.io/cy01/mcpulse:{{ .Version }}-arm64"
155+
- "docker.io/cy01/mcpulse:{{ .Tag }}-amd64"
156+
- "docker.io/cy01/mcpulse:{{ .Tag }}-arm64"
157157

158158
- name_template: "docker.io/cy01/mcpulse:latest"
159159
image_templates:

0 commit comments

Comments
 (0)