Skip to content

feat: add Docker Hub publishing to constructive image CI#1326

Merged
pyramation merged 1 commit into
mainfrom
feat/docker-hub-publish
Jul 2, 2026
Merged

feat: add Docker Hub publishing to constructive image CI#1326
pyramation merged 1 commit into
mainfrom
feat/docker-hub-publish

Conversation

@pyramation

Copy link
Copy Markdown
Contributor

Summary

Adds Docker Hub publishing alongside the existing GHCR publish in the docker-constructive workflow. After GHCR multi-arch manifests are assembled, a new step copies them to docker.io/constructiveio/constructive (only on main branch pushes).

This enables the constructive-db K8s local dev setup to pull a pre-built GraphQL server image from Docker Hub without needing GHCR auth or rebuilding the entire constructive monorepo from source.

Changes to publish-constructive-manifest job:

  • Add Docker Hub login step (requires DOCKERHUB_USERNAME + DOCKERHUB_TOKEN repo secrets)
  • Add meta-dockerhub metadata extraction for Docker Hub tags
  • Add Copy multi-arch manifests to Docker Hub step using docker buildx imagetools create to mirror from GHCR

No changes to the build job — images are still built and pushed by digest to GHCR only. The Docker Hub copy happens post-assembly via imagetools create, avoiding redundant builds.

Link to Devin session: https://app.devin.ai/sessions/7308698edc054a55b1b7e6414263f077
Requested by: @pyramation

Add a step to copy multi-arch manifests from GHCR to Docker Hub
(constructiveio/constructive) after the GHCR publish completes.

This enables public access to the constructive image without
needing GHCR auth, which simplifies local K8s dev setup in
constructive-db (no need to build from source).

Requires DOCKERHUB_USERNAME and DOCKERHUB_TOKEN repository secrets.
@pyramation pyramation self-assigned this Jul 2, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@pyramation pyramation merged commit de60af4 into main Jul 2, 2026
36 checks passed
@pyramation pyramation deleted the feat/docker-hub-publish branch July 2, 2026 21:51
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