diff --git a/Makefile b/Makefile index d0b1f071520e..88359e741fc5 100644 --- a/Makefile +++ b/Makefile @@ -1034,7 +1034,9 @@ release-binary: $(RELEASE_DIR) .PHONY: release-staging release-staging: ## Build and push container images to the staging bucket - REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-build-all docker-push-all release-alias-tag + REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-build-all + REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-push-all + REGISTRY=$(STAGING_REGISTRY) $(MAKE) release-alias-tag .PHONY: release-staging-nightly release-staging-nightly: ## Tag and push container images to the staging bucket. Example image tag: cluster-api-controller:nightly_main_20210121 diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 66e3418801f4..1ef17030d2e2 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -12,10 +12,9 @@ steps: - TAG=$_GIT_TAG - PULL_BASE_REF=$_PULL_BASE_REF - DOCKER_BUILDKIT=1 - args: - - release-staging + args: ['release-staging', '-j', '8', '-O'] substitutions: # _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and # can be used as a substitution _GIT_TAG: '12345' - _PULL_BASE_REF: 'dev' + _PULL_BASE_REF: 'dev' \ No newline at end of file