Skip to content

Commit

Permalink
Use dogfooding buildx image for multi-arch builds
Browse files Browse the repository at this point in the history
Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
  • Loading branch information
barthy1 authored and tekton-robot committed Nov 11, 2020
1 parent d48fbd7 commit 58ced47
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tekton/build-push-ma-base-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 58ced47

Please sign in to comment.