From be6c23869189f2c345497c341b9ed9d6d24d29d8 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Sivakumar Date: Sun, 14 Jun 2026 22:57:54 +0530 Subject: [PATCH] fix(ci): use lowercase ghcr image names --- .github/workflows/build-and-deploy-ghcr.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-deploy-ghcr.yml b/.github/workflows/build-and-deploy-ghcr.yml index 4e3e7c3..55eb784 100644 --- a/.github/workflows/build-and-deploy-ghcr.yml +++ b/.github/workflows/build-and-deploy-ghcr.yml @@ -99,7 +99,7 @@ print(json.dumps(services)) fail-fast: false max-parallel: 1 matrix: - service: ${{ fromJson(needs.detect-changes.outputs.services) }} + service: ${{ fromJSON(needs.detect-changes.outputs.services) }} steps: - name: Checkout uses: actions/checkout@v4 @@ -126,7 +126,7 @@ print(json.dumps(services)) platforms: linux/amd64 build-args: | SERVICE_NAME=${{ matrix.service }} - tags: ghcr.io/${{ github.repository_owner }}/nxtgauge-rust-${{ matrix.service }}:${{ github.sha }} + tags: ghcr.io/traceworks2023/nxtgauge-rust-${{ matrix.service }}:${{ github.sha }} - name: Configure kubeconfig run: | @@ -146,7 +146,7 @@ print(json.dumps(services)) set -euo pipefail deployment="nxtgauge-rust-${{ matrix.service }}" container="${{ matrix.service }}" - image_ref="ghcr.io/${{ github.repository_owner }}/nxtgauge-rust-${{ matrix.service }}@${{ steps.build.outputs.digest }}" + image_ref="ghcr.io/traceworks2023/nxtgauge-rust-${{ matrix.service }}@${{ steps.build.outputs.digest }}" kubectl -n "$K8S_NAMESPACE" create secret docker-registry ghcr-regcred --docker-server=ghcr.io --docker-username="$GHCR_USERNAME" --docker-password="$GHCR_TOKEN" --dry-run=client -o yaml | kubectl apply -f - kubectl -n "$K8S_NAMESPACE" patch deployment "$deployment" --type merge -p '{"spec":{"template":{"spec":{"imagePullSecrets":[{"name":"ghcr-regcred"}]}}}}' kubectl -n "$K8S_NAMESPACE" set image deployment/"$deployment" "$container"="$image_ref"