Skip to content

Commit

Permalink
Merge pull request #188 from inteon/fix_release
Browse files Browse the repository at this point in the history
Use standardised release process
  • Loading branch information
jetstack-bot authored Jan 24, 2024
2 parents 7d63675 + 5bda70a commit bf2234f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions make/02_mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,8 @@ include make/test-unit.mk
.PHONY: release
## Publish all release artifacts (image + helm chart)
## @category [shared] Release
release: $(helm_chart_archive) | $(NEEDS_CRANE)
if $(CRANE) manifest digest $(oci_manager_image_name):$(oci_manager_image_tag) > /dev/null 2>&1; then \
echo "Image $(oci_manager_image_name):$(oci_manager_image_tag) already exists in registry"; \
else \
echo "Image $(oci_manager_image_name):$(oci_manager_image_tag) does not exist in registry"; \
$(MAKE) oci-push-manager; \
fi
release: $(helm_chart_archive)
$(MAKE) oci-push-manager

@echo "RELEASE_OCI_MANAGER_IMAGE=$(oci_manager_image_name)" >> "$(GITHUB_OUTPUT)"
@echo "RELEASE_OCI_MANAGER_TAG=$(oci_manager_image_tag)" >> "$(GITHUB_OUTPUT)"
Expand Down

0 comments on commit bf2234f

Please sign in to comment.