From d90fc2de1c9c0ca7f8cf1d0502a9e8f125dacdfc Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Wed, 8 Nov 2023 13:58:09 +0500 Subject: [PATCH] ci: github repository container lowercase tag --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3956cac5..9734a65a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,11 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Set lower case owner name + run: | + echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV} + env: + OWNER: ${{ github.repository_owner }} - name: Build and push uses: docker/build-push-action@v3 with: @@ -61,10 +66,7 @@ jobs: COMMIT_TAG=${{ github.sha }} tags: | fallenbagel/jellyseerr:develop - - name: Tag and push to GitHub Container Registry - run: | - docker tag fallenbagel/jellyseerr:develop ghcr.io/${{ github.repository_owner }}/jellyseerr:develop - docker push ghcr.io/${{ github.repository_owner }}/jellyseerr:develop + ghcr.io/${{ env.OWNER_LC }}/jellyseerr:develop discord: name: Send Discord Notification