mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-09-04 15:05:20 +00:00
ci: fix ghcr lowercase naming convention
This commit is contained in:
@@ -25,6 +25,9 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Lowercase Repository Owner
|
||||||
|
run: echo "OWNER_LC=${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]' >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
@@ -32,8 +35,8 @@ jobs:
|
|||||||
file: server/Dockerfile
|
file: server/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/${{ github.repository_owner }}/koala-sync-server:latest
|
ghcr.io/${{ env.OWNER_LC }}/koala-sync-server:latest
|
||||||
ghcr.io/${{ github.repository_owner }}/koala-sync-server:${{ github.ref_name }}
|
ghcr.io/${{ env.OWNER_LC }}/koala-sync-server:${{ github.ref_name }}
|
||||||
|
|
||||||
release-extension:
|
release-extension:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user