diff --git a/Makefile b/Makefile index c6da930..60c2379 100644 --- a/Makefile +++ b/Makefile @@ -193,17 +193,6 @@ docker.buildx.setup: @docker buildx ls 2>/dev/null | grep -vq $(DOCKER_BUILDX_BUILDER) || docker buildx create --name $(DOCKER_BUILDX_BUILDER) --driver docker-container --driver-opt network=host --bootstrap --use @$(OK) docker buildx setup -docker.promote: - @$(INFO) promoting $(SOURCE_TAG) to $(RELEASE_TAG) - docker manifest inspect $(IMAGE_REGISTRY):$(SOURCE_TAG) > .tagmanifest - for digest in $$(jq -r '.manifests[].digest' < .tagmanifest); do \ - docker pull $(IMAGE_REGISTRY)@$$digest; \ - done - docker manifest create $(IMAGE_REGISTRY):$(RELEASE_TAG) \ - $$(jq -j '"--amend $(IMAGE_REGISTRY)@" + .manifests[].digest + " "' < .tagmanifest) - docker manifest push $(IMAGE_REGISTRY):$(RELEASE_TAG) - @$(OK) docker push $(RELEASE_TAG) \ - # ==================================================================================== # Help diff --git a/RELEASE.md b/RELEASE.md index 65dd1c9..8abc7fb 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -7,10 +7,14 @@ TODO: Migrate these to github actions. 1. Ensure the [CHANGELOG.md](CHANGELOG.md) is up to date. 2. Bump the [Chart.yaml](deploy/charts/cluster-config-maps/Chart.yaml) `version` or `appVersion` as needed. -### Release cluster-config-maps +### Test the build of cluster-config-maps 1. Build the csi driver: `make docker.build` +### Release cluster-config-maps + +1. Build the csi driver: `git tag 0.x.x && git push --tags` + ### Release Helm Chart 1. Regenerate the helm chart + docs: `helm.generate` \ No newline at end of file