Skip to content

Commit

Permalink
Merge pull request #3235 from fabriziopandini/fix-image-build
Browse files Browse the repository at this point in the history
🌱 Image builds should prepull experimental docker buildkit deps
  • Loading branch information
k8s-ci-robot authored Jun 23, 2020
2 parents d044be3 + 52f7bc7 commit 241d247
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ release-binary: $(RELEASE_DIR)

.PHONY: release-staging
release-staging: ## Builds and push container images to the staging bucket.
docker pull docker.io/docker/dockerfile:experimental
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-build-all docker-push-all release-alias-tag

RELEASE_ALIAS_TAG=$(PULL_BASE_REF)
Expand Down
2 changes: 2 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ steps:
- DOCKER_CLI_EXPERIMENTAL=enabled
- TAG=$_GIT_TAG
- PULL_BASE_REF=$_PULL_BASE_REF
- DOCKER_BUILDKIT=1
args:
- release-staging
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20200619-68869a4'
Expand All @@ -19,6 +20,7 @@ steps:
- DOCKER_CLI_EXPERIMENTAL=enabled
- TAG=$_GIT_TAG
- PULL_BASE_REF=$_PULL_BASE_REF
- DOCKER_BUILDKIT=1
args:
- release-staging
substitutions:
Expand Down

0 comments on commit 241d247

Please sign in to comment.