Skip to content

Commit

Permalink
chore: fix docker manifest configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Jul 7, 2023
1 parent deaf62c commit db173df
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ dockers:
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT

# automatically select amd64/arm64 when requesting "algorand/indexer"
# automatically select amd64/arm64 when using image.
docker_manifests:
- name_template: "algorand/indexer:{{ .Version }}"
- name_template: "{{ .Env.DOCKER_NAME }}:{{ .Version }}"
image_templates:
- "algorand/indexer:{{ .Version }}-amd64"
- "algorand/indexer:{{ .Version }}-arm64"
- name_template: "algorand/indexer:latest{{ if .IsSnapshot }}-snapshot{{ end }}"
- "{{ .Env.DOCKER_NAME }}:{{ .Version }}-amd64"
- "{{ .Env.DOCKER_NAME }}:{{ .Version }}-arm64"
- name_template: "{{ .Env.DOCKER_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}"
image_templates:
- "algorand/indexer:latest{{ if .IsSnapshot }}-snapshot{{ end }}-amd64"
- "algorand/indexer:latest{{ if .IsSnapshot }}-snapshot{{ end }}-arm64"
- "{{ .Env.DOCKER_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-amd64"
- "{{ .Env.DOCKER_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-arm64"

archives:
- name_template: >-
Expand Down

0 comments on commit db173df

Please sign in to comment.