1
+ version : 2
2
+
1
3
project_name : external-dns-stackit-webhook
2
4
snapshot :
3
- name_template : ' {{ .Tag }}-SNAPSHOT'
5
+ version_template : ' {{ .Tag }}-SNAPSHOT'
4
6
builds :
5
7
- id : external-dns-stackit-webhook
6
8
goos :
@@ -36,12 +38,10 @@ archives:
36
38
- goos : windows
37
39
format : zip
38
40
dockers :
39
- - id : external-dns-stackit-webhook
41
+ - id : external-dns-stackit-webhook-amd64
40
42
use : buildx
41
43
image_templates :
42
- - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}"
43
- - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest"
44
- - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .ShortCommit }}"
44
+ - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}-amd64"
45
45
goos : linux
46
46
goarch : amd64
47
47
build_flag_templates :
@@ -54,6 +54,36 @@ dockers:
54
54
- --label=org.opencontainers.image.revision={{ .FullCommit }}
55
55
- --label=org.opencontainers.image.licenses=Apache-2.0
56
56
skip_push : false
57
+
58
+ - id : external-dns-stackit-webhook-arm64
59
+ use : buildx
60
+ image_templates :
61
+ - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}-arm64"
62
+ goos : linux
63
+ goarch : arm64
64
+ build_flag_templates :
65
+ - --label=org.opencontainers.image.title={{ .ProjectName }}
66
+ - --label=org.opencontainers.image.description=stackit DNS webhook for external-dns
67
+ - --label=org.opencontainers.image.url=https://{{ .Env.GITHUB_SERVER_URL }}/{{ .Env.GITHUB_REPOSITORY}}
68
+ - --label=org.opencontainers.image.source=https://{{ .Env.GITHUB_SERVER_URL }}/{{ .Env.GITHUB_REPOSITORY}}
69
+ - --label=org.opencontainers.image.version={{ .Version }}
70
+ - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
71
+ - --label=org.opencontainers.image.revision={{ .FullCommit }}
72
+ - --label=org.opencontainers.image.licenses=Apache-2.0
73
+ - --label=org.opencontainers.image.platform.os=linux
74
+ - --platform=linux
75
+ skip_push : false
76
+
77
+ docker_manifests :
78
+ - name_template : " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}"
79
+ image_templates :
80
+ - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}-amd64"
81
+ - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}-arm64"
82
+ - name_template : " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest"
83
+ image_templates :
84
+ - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest-amd64"
85
+ - " {{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest-arm64"
86
+
57
87
checksum :
58
88
disable : false
59
89
name_template : " {{ .ProjectName }}_{{ .Version }}_checksums.txt"
0 commit comments