ci: fix ghcr lowercase naming convention

This commit is contained in:
Timo
2026-04-22 14:26:19 +02:00
parent 8696533b1c
commit 8f01feeb56
+5 -2
View File
@@ -25,6 +25,9 @@ jobs:
username: ${{ github.actor }}
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
uses: docker/build-push-action@v5
with:
@@ -32,8 +35,8 @@ jobs:
file: server/Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/koala-sync-server:latest
ghcr.io/${{ github.repository_owner }}/koala-sync-server:${{ github.ref_name }}
ghcr.io/${{ env.OWNER_LC }}/koala-sync-server:latest
ghcr.io/${{ env.OWNER_LC }}/koala-sync-server:${{ github.ref_name }}
release-extension:
runs-on: ubuntu-latest