diff --git a/ci/Dockerfile.std b/ci/Dockerfile.std index cce463d35..28c9aeb35 100644 --- a/ci/Dockerfile.std +++ b/ci/Dockerfile.std @@ -3,7 +3,6 @@ # Generated on: Wed Jul 26 08:25:03 UTC 2023 FROM debian:bullseye-slim -ARG TARGETARCH ENV DEBIAN_FRONTEND=noninteractive @@ -24,8 +23,8 @@ RUN rm -rf /root/.cache \ && find /usr/lib -type f -name '*.o' -delete # Comment this to test in dev -COPY *${TARGETARCH}.deb / -RUN dpkg -i /tyk-pump*${TARGETARCH}.deb && rm /*.deb +COPY exact_filename.deb / +RUN dpkg -i /tyk-pump_exact_filename.deb && rm /*.deb ARG PORTS @@ -37,4 +36,4 @@ WORKDIR /opt/tyk-pump/ # COPY tyk-pump . ENTRYPOINT ["/opt/tyk-pump/tyk-pump" ] -CMD [ "--conf=/opt/tyk-pump/pump.conf" ] +CMD [ "--conf=/opt/tyk-pump/pump.conf" ] \ No newline at end of file diff --git a/ci/goreleaser/goreleaser.yml b/ci/goreleaser/goreleaser.yml index d7666a2b4..acf2cd2d7 100644 --- a/ci/goreleaser/goreleaser.yml +++ b/ci/goreleaser/goreleaser.yml @@ -14,6 +14,7 @@ builds: goarch: - amd64 - arm64 + - s390x binary: tyk-pump dockers: @@ -23,9 +24,12 @@ dockers: image_templates: - "tykio/tyk-pump-docker-pub:{{ .Tag }}-amd64" - "docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}-amd64" + - "tykio/tyk-pump-docker-pub:{{ .Tag }}-s390x" + - "docker.tyk.io/tyk-pump/tyk-pump:{{ .Tag }}-s390x" build_flag_templates: - "--build-arg=PORTS=80" - "--platform=linux/amd64" + - "--platform=linux/s390x" - "--label=org.opencontainers.image.created={{.Date}}" - "--label=org.opencontainers.image.title={{.ProjectName}}" - "--label=org.opencontainers.image.revision={{.FullCommit}}" @@ -138,4 +142,4 @@ release: name: tyk-pump prerelease: auto draft: true - name_template: "{{.ProjectName}}-v{{.Version}}" + name_template: "{{.ProjectName}}-v{{.Version}}" \ No newline at end of file