Skip to content

feat: reusable workflow for Docker image build and smoke test #3

@MarkCesium

Description

@MarkCesium

Summary

Lint + tests still don't catch broken Dockerfiles or wrong CMD wiring. A smoke test catches those before they hit prod.

Changes

  • .github/workflows/docker-smoke.yml.
  • Builds the service's dev stage, tags it, pulls infra at main, replaces the service image in compose, runs make dev, waits up to 120s for healthcheck, tears down.
  • Fails if healthcheck never passes.

Verification

  • Intentionally break CMD in a service Dockerfile — CI fails on smoke, not on lint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions