From d90460a7ecb4f6d51b041c1bb549982dc3498e24 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Wed, 1 Apr 2026 20:18:37 -0500 Subject: [PATCH] workflow fix again --- .github/workflows/build-images.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 0d00ac0..ed9f2e4 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -19,6 +19,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Set lowercase owner name + run: | + # Use ZSH or Bash parameter expansion/tr to lowercase the string + OWNER_LC=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]') + echo "OWNER_LC=$OWNER_LC" >> $GITHUB_ENV + - name: Log in to GHCR uses: docker/login-action@v3 with: @@ -31,11 +37,11 @@ jobs: with: context: ./docker/coturn push: true - tags: ghcr.io/${{ github.repository_owner,, }}/stoat-coturn:4.9.0-trixie + tags: ghcr.io/${{ env.OWNER_LC }}/stoat-coturn:4.9.0-trixie - name: Build and push Caddy WAF image uses: docker/build-push-action@v5 with: context: ./docker/caddy push: true - tags: ghcr.io/${{ github.repository_owner,, }}/stoat-caddy-waf:latest + tags: ghcr.io/${{ env.OWNER_LC }}/stoat-caddy-waf:latest