Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dogfooding buildx image for multi-arch builds #3514

Merged
merged 1 commit into from
Nov 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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