Skip to content

Commit d9aabc2

Browse files
authored
Revert "🌱 Improve release staging build speed"
1 parent 19bf8a6 commit d9aabc2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,9 +1068,7 @@ release-binary: $(RELEASE_DIR)
10681068

10691069
.PHONY: release-staging
10701070
release-staging: ## Build and push container images to the staging bucket
1071-
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-build-all
1072-
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-push-all
1073-
REGISTRY=$(STAGING_REGISTRY) $(MAKE) release-alias-tag
1071+
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-build-all docker-push-all release-alias-tag
10741072

10751073
.PHONY: release-staging-nightly
10761074
release-staging-nightly: ## Tag and push container images to the staging bucket. Example image tag: cluster-api-controller:nightly_main_20210121

cloudbuild.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ steps:
1212
- TAG=$_GIT_TAG
1313
- PULL_BASE_REF=$_PULL_BASE_REF
1414
- DOCKER_BUILDKIT=1
15-
args: ['release-staging', '-j', '8', '-O']
15+
args:
16+
- release-staging
1617
substitutions:
1718
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
1819
# can be used as a substitution
1920
_GIT_TAG: '12345'
20-
_PULL_BASE_REF: 'dev'
21+
_PULL_BASE_REF: 'dev'

0 commit comments

Comments
 (0)