Skip to content

Commit

Permalink
chore(goreleaser): update docker image name
Browse files Browse the repository at this point in the history
  • Loading branch information
fyvri committed Dec 18, 2024
1 parent afbc2ee commit c0c10b6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions deployments/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 2
project_name: ${{ vars.DOCKERHUB_REPOSITORY }}
project_name: go-qris
env:
- GO111MODULE=on

Expand Down Expand Up @@ -34,30 +34,30 @@ archives:

dockers:
- image_templates:
- "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "docker.io/azisalvriyanto/{{ .ProjectName }}:{{ .Tag }}-amd64"
use: buildx
dockerfile: ./deployments/Dockerfile
build_flag_templates:
- "--platform=linux/amd64"

- image_templates:
- "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:{{ .Tag }}-arm64"
- "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:latest"
- "docker.io/azisalvriyanto/{{ .ProjectName }}:{{ .Tag }}-arm64"
- "docker.io/azisalvriyanto/{{ .ProjectName }}:latest"
use: buildx
dockerfile: ./deployments/Dockerfile
goarch: arm64
build_flag_templates:
- --platform=linux/arm64/v8

docker_manifests:
- name_template: "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:{{ .Tag }}"
- name_template: "docker.io/azisalvriyanto/{{ .ProjectName }}:{{ .Tag }}"
image_templates:
- "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:{{ .Tag }}-arm64"
- name_template: "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:latest"
- "docker.io/azisalvriyanto/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "docker.io/azisalvriyanto/{{ .ProjectName }}:{{ .Tag }}-arm64"
- name_template: "docker.io/azisalvriyanto/{{ .ProjectName }}:latest"
image_templates:
- "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "docker.io/${{ vars.DOCKERHUB_USERNAME }}/{{ .ProjectName }}:{{ .Tag }}-arm64"
- "docker.io/azisalvriyanto/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "docker.io/azisalvriyanto/{{ .ProjectName }}:{{ .Tag }}-arm64"

changelog:
sort: asc
Expand Down

0 comments on commit c0c10b6

Please sign in to comment.