Skip to content

ci: build release artifacts on demand and protect the default branch - #564

Open
morningman wants to merge 3 commits into
apache:masterfrom
morningman:ci/manual-release-artifacts
Open

morningman wants to merge 3 commits into
apache:masterfrom
morningman:ci/manual-release-artifacts

Conversation

@morningman

@morningman morningman commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Version tags currently trigger automatic uploads to Docker Hub and Aliyun OSS using stored credentials. The new Build Release Artifacts workflow accepts an existing tag and provides one GitHub Actions download containing the amd64 and arm64 Operator and Debug images, both Helm charts, and a chart index. Maintainers can publish the files manually.

PR checks use pull_request. License Check reports results through the GitHub check and no longer needs a token for posting comments.

The ASF ruleset requires one approving review for pull requests targeting the default branch and blocks force pushes and branch deletion. The open ASF Infra proposal #490 also adds .asf.yaml.

Release note

Release maintainers can build and download image and Helm chart artifacts from GitHub Actions for manual publication.

Check List (For Author)

  • Test
    • Manual test
      • Ran actionlint on the changed workflows and the ASF validator on .asf.yaml.
      • Built both OCI archives from 26.0.1 with Buildx and verified that each contains linux/amd64 and linux/arm64.
      • Packaged both Helm charts from 26.0.1 and release-24.0.0 and verified their chart indexes.
      • Ran ShellCheck on the README commands and confirmed that Skopeo preserves both platforms when copying the OCI archives to local OCI layouts.
      • Tested the README Helm commands with the live index and mocked OSS uploads. Confirmed that existing versions are preserved and a failed package upload prevents publishing the index.
  • Behavior changed
    • Yes. Release builds are manual and upload artifacts to GitHub Actions.
  • Does this need documentation?

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant