diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 4b1c47b..af5ad3b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,6 +21,10 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + - name: lowerify repository name + id: lowerify + run: | + echo "repository=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT" - name: build and push uses: docker/bake-action@v3 with: @@ -32,4 +36,4 @@ jobs: server.cache-to=type=gha,mode=max env: TAG: ${{ steps.short-sha.outputs.tag }} - IMAGE_NAME: ghcr.io/${{ github.repository }} + IMAGE_NAME: ghcr.io/${{ steps.lowerify.outputs.repository }}