Skip to content

Commit ea651a5

Browse files
authored
Merge pull request #78 from smlx/binaryvar
fix: try using another var
2 parents c0099fd + 6ff9022 commit ea651a5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.goreleaser.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,28 @@ signs:
3838

3939
dockers:
4040
- image_templates:
41-
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .Binary }}:{{ .Version }}-amd64"
41+
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}-amd64"
4242
use: buildx
43-
dockerfile: deploy/{{ .Binary }}/Dockerfile
43+
dockerfile: deploy/{{ .ArtifactName }}/Dockerfile
4444
build_flag_templates:
4545
- "--platform=linux/amd64"
4646
- image_templates:
47-
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .Binary }}:{{ .Version }}-arm64v8"
47+
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}-arm64v8"
4848
use: buildx
4949
goarch: arm64
50-
dockerfile: deploy/{{ .Binary }}/Dockerfile
50+
dockerfile: deploy/{{ .ArtifactName }}/Dockerfile
5151
build_flag_templates:
5252
- "--platform=linux/arm64/v8"
5353

5454
docker_manifests:
55-
- name_template: "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .Binary }}:{{ .Version }}"
55+
- name_template: "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}"
5656
image_templates:
57-
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .Binary }}:{{ .Version }}-amd64"
58-
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .Binary }}:{{ .Version }}-arm64v8"
59-
- name_template: "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .Binary }}:latest"
57+
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}-amd64"
58+
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}-arm64v8"
59+
- name_template: "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:latest"
6060
image_templates:
61-
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .Binary }}:{{ .Version }}-amd64"
62-
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .Binary }}:{{ .Version }}-arm64v8"
61+
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}-amd64"
62+
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}-arm64v8"
6363

6464
docker_signs:
6565
- args:

0 commit comments

Comments
 (0)