ci: switched to manuel REGISTRY_TOKEN

This commit is contained in:
robin committed 2026-09-03 13:55:24 +00:00
1 parent 009124c286
commit 12056afa87
1 file changed
+2 -2
+2 -2
View File
@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # <-- Das erlaubt das Pushen in die Container Registry
packages: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
@@ -29,7 +29,7 @@ jobs:
- name: Log in to Gitea Container Registry
run: |
USER_LOWER=$(echo "${{ github.actor }}" | tr '[:upper:]' '[:lower:]')
echo "${{ secrets.GITHUB_TOKEN }}" | docker login gitea:3000 -u "$USER_LOWER" --password-stdin
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login gitea:3000 -u "$USER_LOWER" --password-stdin
- name: Docker Image bauen (nur lokal im Runner)
uses: docker/build-push-action@v5