Skip to content

docker-smoke: add build-only mode#9

Merged
aaronelliotross merged 1 commit into
mainfrom
feat/docker-smoke-build-only
Jun 21, 2026
Merged

docker-smoke: add build-only mode#9
aaronelliotross merged 1 commit into
mainfrom
feat/docker-smoke-build-only

Conversation

@aaronelliotross

Copy link
Copy Markdown
Contributor

Why

Some apps can't boot a working container in CI without runtime secrets or a database (e.g. ecm: reads ACTIONKIT_* at create_app() and starts a scheduler against a live DB). For those, the full run+probe smoke isn't feasible, but building the image at PR time is still valuable — it catches Dockerfile / base-image breaks (the corepack class) that today only surface in the post-merge release.

What

Adds a build-only input (default false). When true, the action builds the image and stops — the run, probe, and teardown steps are skipped via if: guards. Default behaviour is unchanged (full build + run + Host-header probe).

Usage

- uses: WeMoveEU/ci-workflows/.github/actions/docker-smoke@<ref>
  with:
    build-only: "true"

@aaronelliotross aaronelliotross merged commit e6a3093 into main Jun 21, 2026
2 checks passed
@aaronelliotross aaronelliotross deleted the feat/docker-smoke-build-only branch June 21, 2026 12:57
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