[codex] Add Docker image build workflow #2

Merged
caleb-brown merged 2 commits from t3code/publish-docker-image-workflow into main 2026-07-05 21:34:28 -04:00
Owner

What changed

Added a Docker image workflow that builds the repository Dockerfile in CI and can publish to a configured registry later.

Behavior

  • Builds pull requests without pushing an image.
  • Defaults to local-only builds when no DOCKER_REGISTRY repository variable is configured.
  • Publishes non-PR runs when DOCKER_REGISTRY is configured, with optional DOCKER_IMAGE_NAME, DOCKER_REGISTRY_USERNAME, and DOCKER_REGISTRY_PASSWORD settings.

Validation

  • Inspected the workflow file and staged diff.
  • Local Docker/action lint validation was not available in this environment because Docker, actionlint, Ruby, and PyYAML are not installed.
## What changed Added a Docker image workflow that builds the repository Dockerfile in CI and can publish to a configured registry later. ## Behavior - Builds pull requests without pushing an image. - Defaults to local-only builds when no `DOCKER_REGISTRY` repository variable is configured. - Publishes non-PR runs when `DOCKER_REGISTRY` is configured, with optional `DOCKER_IMAGE_NAME`, `DOCKER_REGISTRY_USERNAME`, and `DOCKER_REGISTRY_PASSWORD` settings. ## Validation - Inspected the workflow file and staged diff. - Local Docker/action lint validation was not available in this environment because Docker, actionlint, Ruby, and PyYAML are not installed.
Add Docker image build workflow
Some checks failed
Build Docker image / Build image (pull_request) Has been cancelled
9dbba79503
caleb-brown deleted branch t3code/publish-docker-image-workflow 2026-07-05 21:34:29 -04:00
Sign in to join this conversation.
No description provided.