From 5390232ab903f31414d3328f28a015b0d0041f78 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Wed, 28 Jan 2026 07:52:06 +0300 Subject: [PATCH] fix: lower-case docker img name, fixes #16 --- .github/workflows/build-docker-image.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index d976f5b..4c4290e 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -68,10 +68,19 @@ jobs: - name: Build project run: shopware-cli project ci . + - name: Sanitize repository name + id: sanitize + run: | + echo "owner=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_OUTPUT + echo "repo=${GITHUB_REPOSITORY_NAME,,}" >> $GITHUB_OUTPUT + env: + GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }} + GITHUB_REPOSITORY_NAME: ${{ github.event.repository.name }} + - name: Build and push uses: docker/build-push-action@v6 with: context: . file: ./docker/Dockerfile push: true - tags: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest + tags: ghcr.io/${{ steps.sanitize.outputs.owner }}/${{ steps.sanitize.outputs.repo }}:latest