Skip to content

feat: add Docker image build jobs to CI workflow (Closes #2) - #62

Open
ZacLou wants to merge 1 commit into
StellarRoute:mainfrom
ZacLou:feat/issue-2-ci-docker-build
Open

feat: add Docker image build jobs to CI workflow (Closes #2)#62
ZacLou wants to merge 1 commit into
StellarRoute:mainfrom
ZacLou:feat/issue-2-ci-docker-build

Conversation

@ZacLou

@ZacLou ZacLou commented Aug 27, 2026

Copy link
Copy Markdown

Closes #2

Changes

Adds a docker job to the CI workflow that builds both Docker images on every PR and push to main:

  • docker job: Depends on rust job passing first, runs on ubuntu-latest
  • Uses docker/setup-buildx-action@v3 for Buildx setup
  • API image: Builds Dockerfile.api with GitHub Actions cache
  • Gateway image: Builds Dockerfile.gateway with GitHub Actions cache
  • push: false — images are built but not pushed (no registry configured)
  • cache-from/to: type=gha — uses GitHub Actions cache for faster rebuilds

Validation

  • Docker builds run in CI without pushing, catching Dockerfile issues early
  • Cache reduces rebuild time for unchanged layers

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.

[infra] Add CI workflow job to build gateway and API Docker images

1 participant