Skip to content

ci: push images in the environments dev-images and release #574

Closed

Description

@uniqueg

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).

Activity

  1. added this to the v0.20.0 milestone on Oct 31, 2026
  2. added
    priority: medium
    status: triage
    type: ci / cd
    type: security
    workload: hours
    on Oct 31, 2026
  3. uniqueg commented on Oct 31, 2026

    @uniqueg
    MemberAuthor

    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.

  4. added
    status: in progress
    and removed
    status: triage
    on Oct 31, 2026
  5. removed
    status: in progress
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: ci / cdtype: securityworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions