From b3e2c478b4fa2eec2c2d97f28f331d58d3d0a9d7 Mon Sep 17 00:00:00 2001 From: fraware Date: Tue, 21 Jul 2026 00:19:07 -0700 Subject: [PATCH] Lowercase GHCR image tags so docker job succeeds on main. ghcr.io rejects mixed-case repository paths like SentinelOps-CI/... --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e55a261..7f9d508 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,6 +142,10 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set lowercase image name + id: image + run: echo "name=ghcr.io/$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT" + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -158,8 +162,8 @@ jobs: context: . push: true tags: | - ghcr.io/${{ github.repository }}:latest - ghcr.io/${{ github.repository }}:${{ github.sha }} + ${{ steps.image.outputs.name }}:latest + ${{ steps.image.outputs.name }}:${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max