fix(ci): switch to GHCR (ghcr.io/farhoodliquor) from Docker Hub

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-19 14:12:53 -04:00
parent e5874a4887
commit 6ecf1a4d4d
2 changed files with 11 additions and 9 deletions
+9 -7
View File
@@ -46,6 +46,7 @@ jobs:
runs-on: runners-farhoodliquor runs-on: runners-farhoodliquor
permissions: permissions:
contents: read contents: read
packages: write
steps: steps:
- name: Checkout - name: Checkout
@@ -54,11 +55,12 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0 uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- name: Log in to Docker Hub - name: Log in to GHCR
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} registry: ghcr.io
password: ${{ secrets.DOCKERHUB_TOKEN }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push worker image - name: Build and push worker image
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
@@ -66,8 +68,8 @@ jobs:
context: . context: .
push: true push: true
tags: | tags: |
keygraph/shannon:latest ghcr.io/farhoodliquor/shannon:latest
keygraph/shannon:sha-${{ github.sha }} ghcr.io/farhoodliquor/shannon:sha-${{ github.sha }}
- name: Build and push API image - name: Build and push API image
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
@@ -76,5 +78,5 @@ jobs:
file: apps/api/Dockerfile file: apps/api/Dockerfile
push: true push: true
tags: | tags: |
keygraph/shannon-api:latest ghcr.io/farhoodliquor/shannon-api:latest
keygraph/shannon-api:sha-${{ github.sha }} ghcr.io/farhoodliquor/shannon-api:sha-${{ github.sha }}
+2 -2
View File
@@ -18,7 +18,7 @@ spec:
serviceAccountName: shannon-api serviceAccountName: shannon-api
containers: containers:
- name: api - name: api
image: keygraph/shannon-api:latest image: ghcr.io/farhoodliquor/shannon-api:latest
ports: ports:
- containerPort: 3000 - containerPort: 3000
name: http name: http
@@ -26,7 +26,7 @@ spec:
- name: TEMPORAL_ADDRESS - name: TEMPORAL_ADDRESS
value: shannon-temporal:7233 value: shannon-temporal:7233
- name: WORKER_IMAGE - name: WORKER_IMAGE
value: keygraph/shannon:latest value: ghcr.io/farhoodliquor/shannon:latest
- name: K8S_NAMESPACE - name: K8S_NAMESPACE
value: shannon value: shannon
envFrom: envFrom: