Skip to content

Commit eafea49

Browse files
authored
Merge pull request kubernetes-sigs#10521 from sbueringer/pr-push-branch-manifests
🌱 Push manifests for main & release-.*
2 parents 14f145e + 20d8eea commit eafea49

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,17 @@ release-staging: ## Build and push container images to the staging bucket
11131113
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-image-verify
11141114
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-push-all
11151115
REGISTRY=$(STAGING_REGISTRY) $(MAKE) release-alias-tag
1116+
# Set the manifest image to the staging bucket.
1117+
$(MAKE) manifest-modification REGISTRY=$(STAGING_REGISTRY) RELEASE_TAG=$(RELEASE_ALIAS_TAG)
1118+
## Build the manifests
1119+
$(MAKE) release-manifests
1120+
# Set the manifest image to the staging bucket.
1121+
$(MAKE) manifest-modification-dev REGISTRY=$(STAGING_REGISTRY) RELEASE_TAG=$(RELEASE_ALIAS_TAG)
1122+
## Build the dev manifests
1123+
$(MAKE) release-manifests-dev
1124+
# Example manifest location: https://storage.googleapis.com/k8s-staging-cluster-api/components/main/core-components.yaml
1125+
# Please note that these files are deleted after a certain period, at the time of this writing 60 days after file creation.
1126+
gsutil cp $(RELEASE_DIR)/* gs://$(STAGING_BUCKET)/components/$(RELEASE_ALIAS_TAG)
11161127

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

0 commit comments

Comments
 (0)