@@ -37,29 +37,33 @@ signs:
3737 artifacts : checksum
3838
3939dockers :
40- - image_templates :
41- - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}-amd64"
40+ - ids :
41+ - go-cli-github
42+ image_templates :
43+ - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/go-cli-github:{{ .Version }}-amd64"
4244 use : buildx
43- dockerfile : deploy/{{ .ArtifactName }}/Dockerfile
4445 build_flag_templates :
46+ - " --build-arg=BINARY=go-cli-github"
4547 - " --platform=linux/amd64"
46- - image_templates :
47- - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }}:{{ .Version }}-arm64v8"
48+ - ids :
49+ - go-cli-github
50+ image_templates :
51+ - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/go-cli-github:{{ .Version }}-arm64v8"
4852 use : buildx
4953 goarch : arm64
50- dockerfile : deploy/{{ .ArtifactName }}/Dockerfile
5154 build_flag_templates :
55+ - " --build-arg=BINARY=go-cli-github"
5256 - " --platform=linux/arm64/v8"
5357
5458docker_manifests :
55- - name_template : " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }} :{{ .Version }}"
59+ - name_template : " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/go-cli-github :{{ .Version }}"
5660 image_templates :
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"
61+ - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/go-cli-github :{{ .Version }}-amd64"
62+ - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/go-cli-github :{{ .Version }}-arm64v8"
63+ - name_template : " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/go-cli-github :latest"
6064 image_templates :
61- - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }} :{{ .Version }}-amd64"
62- - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/{{ .ArtifactName }} :{{ .Version }}-arm64v8"
65+ - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/go-cli-github :{{ .Version }}-amd64"
66+ - " ghcr.io/{{ .Env.GITHUB_REPOSITORY }}/go-cli-github :{{ .Version }}-arm64v8"
6367
6468docker_signs :
6569- args :
0 commit comments