Skip to content

Ci ghcr migration 15756177157947667489#1606

Open
TheSpaceGod wants to merge 3 commits intoassafelovic:mainfrom
TheSpaceGod:ci-ghcr-migration-15756177157947667489
Open

Ci ghcr migration 15756177157947667489#1606
TheSpaceGod wants to merge 3 commits intoassafelovic:mainfrom
TheSpaceGod:ci-ghcr-migration-15756177157947667489

Conversation

@TheSpaceGod
Copy link
Copy Markdown
Contributor

Migrated the Docker image CI/CD pipeline from AWS ECR to GitHub Container Registry (GHCR) to resolve authentication issues and remove external dependencies for public image distribution.

Key changes:

Consolidated Build/Push: The docker-push.yml workflow is now the single source of truth for building and pushing images (to GHCR). Added type=sha tagging to ensure every commit is buildable and deployable.
Removed Blocking Workflow: Deleted build.yml which was causing CI failures due to AWS role assumption issues.
Deployment Sync: Updated deploy.yml to pull the required image from GHCR and push it to ECR during manual deployments. This keeps the deployment logic separate and allows maintainers to deploy specific versions even without the build pipeline pushing to ECR.
Verification: Added a verify-images job to docker-push.yml to ensure images are successfully built and pullable from GHCR.
Documentation: Updated README.md to reflect the move to GHCR.

google-labs-jules Bot and others added 3 commits January 28, 2026 19:21
- Removed `.github/workflows/build.yml` to stop blocking ECR pushes in the build pipeline.
- Updated `.github/workflows/docker-push.yml` to add SHA tags for commits and a verification job for the root image.
- Updated `.github/workflows/deploy.yml` to sync images from GHCR to ECR for manual deployments, preserving AWS functionality for maintainers.
- Updated `README.md` with instructions for pulling from GHCR and added a GHCR badge.

Co-authored-by: TheSpaceGod <17182063+TheSpaceGod@users.noreply.github.com>
- Removed `.github/workflows/build.yml` to eliminate ECR build pipeline.
- Updated `.github/workflows/docker-push.yml` to be the primary build pipeline, adding SHA tagging and verification.
- Updated `.github/workflows/deploy.yml` to remove ECR login/sync steps and pass GHCR repository URL to Terraform.
- Updated `terraform/main.tf` and `terraform/variables.tf` to support deploying directly from `image_repository` (GHCR) instead of ECR.
- Updated `README.md` with GHCR pull instructions and badge.

Co-authored-by: TheSpaceGod <17182063+TheSpaceGod@users.noreply.github.com>
- Removed `.github/workflows/build.yml` to eliminate ECR build pipeline failures.
- Updated `.github/workflows/docker-push.yml` to be the primary build pipeline.
  - Added conditional logic to only push to Docker Hub if authenticated.
  - Disabled image pushing on Pull Requests to prevent 401 Unauthorized errors and separate build verification from artifact publishing.
  - Added SHA tagging and a verification job for the root image.
- Updated `.github/workflows/deploy.yml` to remove ECR login/sync steps and pass GHCR repository URL to Terraform.
- Updated `terraform/main.tf` and `terraform/variables.tf` to support deploying directly from `image_repository` (GHCR) instead of ECR.
- Updated `README.md` with GHCR pull instructions and badge.

Co-authored-by: TheSpaceGod <17182063+TheSpaceGod@users.noreply.github.com>
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