ci: github repository container lowercase tag

This commit is contained in:
fallenbagel
2023-11-08 13:58:09 +05:00
parent 3b67d6b0e8
commit d90fc2de1c

View File

@@ -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