diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index acdf68d..f8810e6 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -29,6 +29,13 @@ jobs: # Dummy settings: config loads at startup, no request reaches them. boot-env: | GITHUB_TOKEN=gate-dummy + # Hosts refuse an unsigned quay.io/crunchtools image + # (crunchtools/rhel10-bootc-server#47). Promote signs the gated digest + # before any tag moves, with the key from this repo's cosign-signing + # environment (main and v* only); without it promote refuses. + sign: true secrets: QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} + COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }} + COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }} diff --git a/CHANGELOG.md b/CHANGELOG.md index f8bce53..c0fffca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ All notable changes to this project are documented here. The format follows ## [Unreleased] ### Changed +- Promote signs the image with the fleet cosign key (`sign: true`), because + bootc hosts are moving to trust only signed `quay.io/crunchtools` images + (crunchtools/rhel10-bootc-server#47). Needs the repo's `cosign-signing` + environment to hold `COSIGN_PRIVATE_KEY` and `COSIGN_PASSWORD`. - The container release runs constitution v1.51.0's `container-release.yml` (was v1.46.0) and grants it `issues: write`, so a failed scheduled rebuild opens an issue instead of only warning. A `v*` promote now also refuses an