Skip to content

Commit cc59664

Browse files
authored
Update goreleaser.yml
1 parent 01c791e commit cc59664

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

ci/goreleaser/goreleaser.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ builds:
1414
goarch:
1515
- amd64
1616
- arm64
17+
- s390x
18+
- ppc64le
1719
binary: tyk-pump
1820

1921
dockers:
@@ -61,20 +63,68 @@ dockers:
6163
- "README.md"
6264
- "LICENSE.md"
6365
- "pump.example.conf"
66+
- ids:
67+
- std
68+
image_templates:
69+
- "tykio/tyk-pump-docker-pub:{{ .Tag }}-s390x"
70+
- "docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}-s390x"
71+
build_flag_templates:
72+
- "--build-arg=PORTS=80"
73+
- "--platform=linux/s390x"
74+
- "--label=org.opencontainers.image.created={{.Date}}"
75+
- "--label=org.opencontainers.image.title={{.ProjectName}}"
76+
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
77+
- "--label=org.opencontainers.image.version={{.Version}}"
78+
use: buildx
79+
goarch: s390x
80+
goos: linux
81+
dockerfile: ci/Dockerfile.std
82+
extra_files:
83+
- "ci/install/"
84+
- "README.md"
85+
- "LICENSE.md"
86+
- "pump.example.conf"
87+
- ids:
88+
- std
89+
image_templates:
90+
- "tykio/tyk-pump-docker-pub:{{ .Tag }}-ppc64le"
91+
- "docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}-ppc64le"
92+
build_flag_templates:
93+
- "--build-arg=PORTS=80"
94+
- "--platform=linux/ppc64le"
95+
- "--label=org.opencontainers.image.created={{.Date}}"
96+
- "--label=org.opencontainers.image.title={{.ProjectName}}"
97+
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
98+
- "--label=org.opencontainers.image.version={{.Version}}"
99+
use: buildx
100+
goarch: ppc64le
101+
goos: linux
102+
dockerfile: ci/Dockerfile.std
103+
extra_files:
104+
- "ci/install/"
105+
- "README.md"
106+
- "LICENSE.md"
107+
- "pump.example.conf"
64108

65109
docker_manifests:
66110
- name_template: tykio/tyk-pump-docker-pub:{{ .Tag }}
67111
image_templates:
68112
- tykio/tyk-pump-docker-pub:{{ .Tag }}-amd64
69113
- tykio/tyk-pump-docker-pub:{{ .Tag }}-arm64
114+
- tykio/tyk-pump-docker-pub:{{ .Tag }}-s390x
115+
- tykio/tyk-pump-docker-pub:{{ .Tag }}-ppc64le
70116
- name_template: tykio/tyk-pump-docker-pub:v{{ .Major }}.{{ .Minor }}{{.Prerelease}}
71117
image_templates:
72118
- tykio/tyk-pump-docker-pub:{{ .Tag }}-amd64
73119
- tykio/tyk-pump-docker-pub:{{ .Tag }}-arm64
120+
- tykio/tyk-pump-docker-pub:{{ .Tag }}-s390x
121+
- tykio/tyk-pump-docker-pub:{{ .Tag }}-ppc64le
74122
- name_template: docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}
75123
image_templates:
76124
- docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}-amd64
77125
- docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}-arm64
126+
- docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}-s390x
127+
- docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}-ppc64le
78128

79129
nfpms:
80130
- id: std

0 commit comments

Comments
 (0)