feat: normalize Gitea owner to lowercase and update image tags

- Added a step to normalize Gitea owner to lowercase for consistency.
- Updated image tags to use the normalized Gitea owner in the build and push steps.
This commit is contained in:
2026-09-03 11:47:45 +02:00
parent 0cca61a885
commit 8561ee872e
+11 -6
View File
@@ -17,6 +17,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Normalize Gitea owner to lowercase
shell: bash
run: |
echo "GITEA_OWNER=$(printf '%s' '${{ secrets.GITEAOWNER }}' | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_ENV"
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
@@ -31,8 +36,8 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
git.beugsiud.de/${{ secrets.GITEAOWNER }}/bird-lg-go:latest
git.beugsiud.de/${{ secrets.GITEAOWNER }}/bird-lg-go:${{ github.ref_name }}
git.beugsiud.de/${{ env.GITEA_OWNER }}/bird-lg-go:latest
git.beugsiud.de/${{ env.GITEA_OWNER }}/bird-lg-go:${{ github.ref_name }}
- name: Build and push proxy image
uses: docker/build-push-action@v6
@@ -41,8 +46,8 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
git.beugsiud.de/${{ secrets.GITEAOWNER }}/bird-lgproxy-go:latest
git.beugsiud.de/${{ secrets.GITEAOWNER }}/bird-lgproxy-go:${{ github.ref_name }}
git.beugsiud.de/${{ env.GITEA_OWNER }}/bird-lgproxy-go:latest
git.beugsiud.de/${{ env.GITEA_OWNER }}/bird-lgproxy-go:${{ github.ref_name }}
- name: Build and push proxy MTR image
uses: docker/build-push-action@v6
@@ -52,5 +57,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
git.beugsiud.de/${{ secrets.GITEAOWNER }}/bird-lgproxy-go:mtr
git.beugsiud.de/${{ secrets.GITEAOWNER }}/bird-lgproxy-go:${{ github.ref_name }}-mtr
git.beugsiud.de/${{ env.GITEA_OWNER }}/bird-lgproxy-go:mtr
git.beugsiud.de/${{ env.GITEA_OWNER }}/bird-lgproxy-go:${{ github.ref_name }}-mtr