
* Add OTEL build test * Simplify otel compilation * Remove http2 deprecated arg * Move image build to CI * Turn image from scratch to optimize usage * rollback image from scratch * Final reviews on nginx v1.25 image * Remove s390x from final image
20 lines
740 B
YAML
20 lines
740 B
YAML
timeout: 10800s
|
|
options:
|
|
substitution_option: ALLOW_LOOSE
|
|
# job builds a multi-arch docker image for amd64,arm,arm64 and s390x.
|
|
machineType: E2_HIGHCPU_32
|
|
steps:
|
|
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90
|
|
entrypoint: bash
|
|
env:
|
|
- DOCKER_CLI_EXPERIMENTAL=enabled
|
|
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
|
|
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
|
|
# set the home to /root explicitly to if using docker buildx
|
|
- HOME=/root
|
|
args:
|
|
- -c
|
|
- |
|
|
gcloud auth configure-docker \
|
|
&& cd images/opentelemetry && make NGINX_VERSION=1.25.3 push \
|
|
&& make NGINX_VERSION=1.21.6 push
|