Skip to content

Commit

Permalink
echoserver: update cloudbuild.yaml
Browse files Browse the repository at this point in the history
Syntax/patterns from
https://github.com/kubernetes/test-infra/blob/4a4a47219ed11d9b27a9500b0f77431e4e73c579/images/git/cloudbuild.yaml#L2

This allows using buildx. Before we were using a really old builder
version which didn't support it
  • Loading branch information
howardjohn committed Aug 9, 2022
1 parent 24dc90d commit 466240b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions images/echoserver/cloudbuild.yaml
@@ -1,17 +1,16 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20200422-b25d964'
entrypoint: bash
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20220617-174ad91c3a'
entrypoint: /buildx-entrypoint
env:
- TAG=$_GIT_TAG
- BASE_REF=$_PULL_BASE_REF
- REGISTRY=gcr.io/k8s-staging-ingressconformance
args:
- -c
- |
gcloud auth configure-docker \
&& make publish-image
- build
- --tag=$REGISTRY/echoserver:$TAG
- --platform=linux/amd64,linux/arm64
- --push
- .
substitutions:
_GIT_TAG: "12345"
_PULL_BASE_REF: "master"

0 comments on commit 466240b

Please sign in to comment.