Skip to content

Commit

Permalink
ci: github repository container lowercase tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenbagel committed Nov 8, 2023
1 parent 3b67d6b commit d90fc2d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit d90fc2d

Please sign in to comment.