From 46c0157ece986226ab91add64718073c41fbbf24 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Thu, 4 Jun 2026 14:40:01 +0200 Subject: [PATCH] ci: try fix credentials --- .gitea/workflows/build.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 57267fd..cab44cb 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -21,14 +21,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - # Gitea Actions automatically provides a token that can push to its own registry - - name: Log in to the Container registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.CONTAINER_REGISTRY_GITEA_PASSWORD }} - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -37,5 +29,8 @@ jobs: with: context: . push: true - # Tags it as 'latest'. If you push to main, it updates 'latest'. tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + registry: + url: ${{ env.REGISTRY }} + username: ${{ secrets.CONTAINER_REGISTRY_GITEA_USERNAME }} + password: ${{ secrets.CONTAINER_REGISTRY_GITEA_PASSWORD }}