Add cloudbuild configuration for echo test image
This commit is contained in:
parent
0a128d3467
commit
a750cf49be
3 changed files with 71 additions and 14 deletions
22
images/echo/cloudbuild.yaml
Normal file
22
images/echo/cloudbuild.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
timeout: 600s
|
||||
options:
|
||||
substitution_option: ALLOW_LOOSE
|
||||
steps:
|
||||
- name: gcr.io/k8s-testimages/gcb-docker-gcloud:v20200619-68869a4
|
||||
entrypoint: bash
|
||||
env:
|
||||
- DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
- TAG=$_GIT_TAG
|
||||
- BASE_REF=$_PULL_BASE_REF
|
||||
- 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 \
|
||||
&& make push
|
||||
substitutions:
|
||||
_GIT_TAG: "12345"
|
||||
_PULL_BASE_REF: "master"
|
||||
Loading…
Add table
Add a link
Reference in a new issue