From cbec59d6603afb1dae83a77e6223f9b4c4833908 Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Thu, 22 Feb 2024 23:08:20 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ec5c952..d5bf24f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,10 +70,13 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: downcase GITHUB_REPOSITORY + run: | + echo "REPOSITORY_LOWERCASE=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV} - name: Build and push uses: docker/build-push-action@v5 with: context: . file: ./src/Dockerfile push: true - tags: ghcr.io/${{ github.repository }}:latest + tags: ghcr.io/nager/${REPOSITORY_LOWERCASE}:latest