You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: push images in the environments dev-images and release #574
Moved out of #563, which was narrowed to the environment rename of the PyPI and chart publishing jobs (now release) for v0.19.0. As decided for the org: release for publishing, dev-images for CI pushes. The jobs that push or publish Docker images still run without an environment, so the Docker Hub credentials (DOCKERHUB_LOGIN, DOCKERHUB_TOKEN) aren't gated by any environment.
CI (ci.yml): run the image jobs push and publish in the environment dev-images. That environment allows only the branch dev; CI triggers only on pushes and pull requests to dev (on: push/pull_request: branches: [dev]), so no current run is blocked (checked on dev at d47edd7). Keep it that way: a tag trigger in ci.yml would be blocked by the branch rule.
Release (release.yml): run the release image jobs push and publish-image in the environment release, like the PyPI job. Note that push currently runs before the approval on purpose (so that scan can scan the pushed digests before anything is published); decide whether push waits for the approval too or only publish-image gets the environment.
Docker Hub secrets are org-level today; nothing to move. Update the comments and docs that describe the environments (docs/contributing.md, workflow comments).
Decision (maintainer, 2026-10-31): align with cloud-registry, proTES and trs-filer:
push runs in the environment release (after approval) and pushes the release image by digest only, without tags;
scan (no environment, no secrets) scans that digest;
publish-image runs in release and attests, signs and only then tags the image.
The image is thus pushed only after the approval, and nobody can pull it by tag before the scan has passed. CI's dev image push/publish jobs run in dev-images.
Activity
uniqueg commentedon Oct 31, 2026
Decision (maintainer, 2026-10-31): align with cloud-registry, proTES and trs-filer:
pushruns in the environmentrelease(after approval) and pushes the release image by digest only, without tags;scan(no environment, no secrets) scans that digest;publish-imageruns inreleaseand attests, signs and only then tags the image.The image is thus pushed only after the approval, and nobody can pull it by tag before the scan has passed. CI's dev image
push/publishjobs run indev-images.