revert: drop redundant utility channel promote
build-binaries / build-binaries (pull_request) Successful in 2m12s
test-image / build-image (pull_request) Successful in 36s
test / test (pull_request) Successful in 1m23s

This commit is contained in:
2026-06-27 20:22:21 +02:00
parent 7589c5f220
commit bed1ff975f
6 changed files with 0 additions and 220 deletions
-19
View File
@@ -50,22 +50,3 @@ jobs:
bash scripts/emit-release-fragment.sh
- uses: actions/upload-artifact@v3
with: { name: release-fragment, path: release-fragment.json }
# Service tier: only vX.Y.Z → release; anything else rejects.
# SHA is the 12-char git SHA from the "Resolve tag" step above.
- name: Promote channel
env:
TAG: ${{ github.ref_name }}
SHA: ${{ steps.tag.outputs.sha }}
GITEA_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
GITEA_SERVER: ${{ github.server_url }}
GITEA_OWNER: ${{ github.repository_owner }}
REGISTRY_HOST: ${{ env.REGISTRY }}
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: |
if [[ "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
nix shell nixpkgs#skopeo --command bash scripts/promote-crucible.sh release "$SHA"
else
printf 'unsupported tag for service tier: %s\n' "$TAG" >&2; exit 1
fi