diff --git a/tekton/build-push-ma-base-image.yaml b/tekton/build-push-ma-base-image.yaml index c7edf06e8fb..d53b843113d 100644 --- a/tekton/build-push-ma-base-image.yaml +++ b/tekton/build-push-ma-base-image.yaml @@ -16,7 +16,7 @@ spec: - name: builtBaseImage type: image steps: - - image: gcr.io/google.com/cloudsdktool/cloud-sdk + - image: gcr.io/tekton-releases/dogfooding/buildx-gcloud:latest name: build-image env: # Connect to the sidecar over TCP, with TLS. @@ -39,14 +39,11 @@ spec: # Setup docker-auth gcloud auth configure-docker + ln -s /root/.docker/cli-plugins ~/.docker/cli-plugins + # add qemu bins docker run --rm --privileged tonistiigi/binfmt:latest --install all - #install buildx - mkdir -p ~/.docker/cli-plugins - curl -fsSL https://github.com/docker/buildx/releases/download/v0.4.2/buildx-v0.4.2.linux-amd64 > ~/.docker/cli-plugins/docker-buildx - chmod u+x ~/.docker/cli-plugins/docker-buildx - #create docker context docker context create context1