Skip to content

feat: add opt-out push input (lint+scan only) for pipeline testing#7

Merged
leonidgrishenkov merged 1 commit into
mainfrom
remove-push-when-testing
Jul 17, 2026
Merged

feat: add opt-out push input (lint+scan only) for pipeline testing#7
leonidgrishenkov merged 1 commit into
mainfrom
remove-push-when-testing

Conversation

@leonidgrishenkov

Copy link
Copy Markdown
Owner

The reusable workflow previously always ran the push job (multi-arch build, registry push, SBOM+SLSA, cosign sign). Add a push input (default 'true' to preserve the release contract) and gate the push job on inputs.push == 'true'. Set push: false to stop after lint + scan — the gate still runs, nothing is pushed.

Set the self-test workflow (test-pipeline.yml) to push: false so it exercises lint + scan + smoke without pushing a throwaway image. Flip to true (or omit) to also test push/sign.

The reusable workflow previously always ran the push job (multi-arch
build, registry push, SBOM+SLSA, cosign sign). Add a `push` input
(default 'true' to preserve the release contract) and gate the push job
on `inputs.push == 'true'`. Set `push: false` to stop after lint +
scan — the gate still runs, nothing is pushed.

Set the self-test workflow (test-pipeline.yml) to push: false so it
exercises lint + scan + smoke without pushing a throwaway image. Flip
to true (or omit) to also test push/sign.
@leonidgrishenkov
leonidgrishenkov force-pushed the remove-push-when-testing branch from 0e1fa93 to 0d34cd6 Compare July 17, 2026 16:58
@leonidgrishenkov leonidgrishenkov self-assigned this Jul 17, 2026
@leonidgrishenkov
leonidgrishenkov merged commit 960d83b into main Jul 17, 2026
4 checks passed
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