Skip to content

Add CI/CD workflow: publish Docker images to GHCR on push to main-bc#2

Merged
vanildo-bycoders merged 1 commit into
main-bcfrom
ci/docker-publish-main-bc
Jul 9, 2026
Merged

Add CI/CD workflow: publish Docker images to GHCR on push to main-bc#2
vanildo-bycoders merged 1 commit into
main-bcfrom
ci/docker-publish-main-bc

Conversation

@vanildo-bycoders

Copy link
Copy Markdown
Member

Summary

  • Adds .github/workflows/docker-publish-main-bc.yml: builds the frontend (apps/OpenSign/Dockerhubfile) and backend (apps/OpenSignServer/Dockerhubfile) images with Docker Buildx (multi-arch, GHA cache) on every push to main-bc, and pushes them to ghcr.io/bycoderstec/opensign and ghcr.io/bycoderstec/opensignserver tagged main-bc, latest, and the commit SHA.
  • No application code, Dockerhubfile, or existing workflow (Docker.yml, which syncs main/staging to the official Docker Hub images) was touched — this is a new, isolated workflow scoped only to main-bc.
  • Goal: let DigitalOcean App Platform pull prebuilt images instead of building via Buildpacks, matching the official OpenSign Docker-based deployment process.

Follow-up (outside this PR, on GitHub/DigitalOcean side)

  • Ensure repo Settings → Actions → General → Workflow permissions is "Read and write permissions" so GITHUB_TOKEN can push to GHCR.
  • After first run, make the opensign/opensignserver packages public (or configure a GHCR credential in DO) and point the DO App Platform components at the GHCR image with deploy_on_push enabled.

Test plan

  • Merge and confirm the workflow runs on the push to main-bc and both images appear at https://github.com/orgs/bycoderstec/packages
  • Confirm tags main-bc, latest, and the short commit SHA are all present on both images
  • Confirm DigitalOcean App Platform picks up the new image once reconfigured to the "Container Image" source

🤖 Generated with Claude Code

Builds apps/OpenSign and apps/OpenSignServer via their existing
Dockerhubfile (unchanged) using Buildx with GitHub Actions cache, and
pushes ghcr.io/bycoderstec/{opensign,opensignserver} tagged main-bc,
latest, and the commit SHA. Lets DigitalOcean App Platform switch from
Buildpacks to consuming prebuilt container images, matching the
official OpenSign Docker-based deployment process.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 9, 2026 11:31
@vanildo-bycoders vanildo-bycoders merged commit c8e2b2e into main-bc Jul 9, 2026
1 check failed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

2 participants