Skip to content

Add docker-smoke composite action#8

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

Add docker-smoke composite action#8
aaronelliotross merged 1 commit into
mainfrom
feat/docker-smoke-action

Conversation

@aaronelliotross

Copy link
Copy Markdown
Contributor

Shared composite action that builds the repo's Docker image, runs the container, and curls it with the production Host header — asserting the expected HTTP status.

Catches two bug classes a plain build check misses:

  1. Image build breaks (e.g. a base-image bump dropping a tool — like node 26-alpine no longer shipping corepack).
  2. Runtime serving breaks under the real hostname (e.g. Vite preview's allowedHosts returning 403 for an unlisted Host) — which broke toolbox.wemove.eu.

Used as a step inside a job named ci so the required-status-check context stays exactly ci (a reusable workflow would yield ci / <job> and break the org ruleset match).

After merge: cut tag v14; consumers reference WeMoveEU/ci-workflows/.github/actions/docker-smoke@v14.

@aaronelliotross aaronelliotross merged commit 5a0626e into main Jun 21, 2026
2 checks passed
@aaronelliotross aaronelliotross deleted the feat/docker-smoke-action branch June 21, 2026 10:40
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