mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-30 15:42:46 +00:00
[chore] seperate snapshot from release in goreleaser (#2740)
This commit is contained in:
parent
ce3ae0953d
commit
03263184d8
|
@ -60,7 +60,7 @@ dockers:
|
||||||
image_templates:
|
image_templates:
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:{{ .Version }}-amd64"
|
- "superseriousbusiness/{{ .ProjectName }}:{{ .Version }}-amd64"
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:latest-amd64"
|
- "superseriousbusiness/{{ .ProjectName }}:latest-amd64"
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:snapshot-amd64"
|
- "{{ if .IsSnapshot }}superseriousbusiness/{{ .ProjectName }}:snapshot-amd64{{ end }}"
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- "--platform=linux/amd64"
|
- "--platform=linux/amd64"
|
||||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||||
|
@ -80,7 +80,7 @@ dockers:
|
||||||
image_templates:
|
image_templates:
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:{{ .Version }}-arm64v8"
|
- "superseriousbusiness/{{ .ProjectName }}:{{ .Version }}-arm64v8"
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:latest-arm64v8"
|
- "superseriousbusiness/{{ .ProjectName }}:latest-arm64v8"
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:snapshot-arm64v8"
|
- "{{ if .IsSnapshot }}superseriousbusiness/{{ .ProjectName }}:snapshot-arm64v8{{ end }}"
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- "--platform=linux/arm64/v8"
|
- "--platform=linux/arm64/v8"
|
||||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||||
|
@ -101,7 +101,7 @@ dockers:
|
||||||
image_templates:
|
image_templates:
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:{{ .Version }}-armv6"
|
- "superseriousbusiness/{{ .ProjectName }}:{{ .Version }}-armv6"
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:latest-armv6"
|
- "superseriousbusiness/{{ .ProjectName }}:latest-armv6"
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:snapshot-armv6"
|
- "{{ if .IsSnapshot }}superseriousbusiness/{{ .ProjectName }}:snapshot-armv6{{ end }}"
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- "--platform=linux/arm/v6"
|
- "--platform=linux/arm/v6"
|
||||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||||
|
@ -122,7 +122,7 @@ dockers:
|
||||||
image_templates:
|
image_templates:
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:{{ .Version }}-armv7"
|
- "superseriousbusiness/{{ .ProjectName }}:{{ .Version }}-armv7"
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:latest-armv7"
|
- "superseriousbusiness/{{ .ProjectName }}:latest-armv7"
|
||||||
- "superseriousbusiness/{{ .ProjectName }}:snapshot-armv7"
|
- "{{ if .IsSnapshot }}superseriousbusiness/{{ .ProjectName }}:snapshot-armv7{{ end }}"
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- "--platform=linux/arm/v7"
|
- "--platform=linux/arm/v7"
|
||||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||||
|
@ -148,7 +148,7 @@ docker_manifests:
|
||||||
- superseriousbusiness/{{ .ProjectName }}:latest-arm64v8
|
- superseriousbusiness/{{ .ProjectName }}:latest-arm64v8
|
||||||
- superseriousbusiness/{{ .ProjectName }}:latest-armv6
|
- superseriousbusiness/{{ .ProjectName }}:latest-armv6
|
||||||
- superseriousbusiness/{{ .ProjectName }}:latest-armv7
|
- superseriousbusiness/{{ .ProjectName }}:latest-armv7
|
||||||
- name_template: superseriousbusiness/{{ .ProjectName }}:snapshot
|
- name_template: "{{ if .IsSnapshot }}superseriousbusiness/{{ .ProjectName }}:snapshot{{ end }}"
|
||||||
image_templates:
|
image_templates:
|
||||||
- superseriousbusiness/{{ .ProjectName }}:snapshot-amd64
|
- superseriousbusiness/{{ .ProjectName }}:snapshot-amd64
|
||||||
- superseriousbusiness/{{ .ProjectName }}:snapshot-arm64v8
|
- superseriousbusiness/{{ .ProjectName }}:snapshot-arm64v8
|
||||||
|
|
Loading…
Reference in a new issue