From 2664fc4a1169bc03d3535ccbc91ec9eff68fb57c Mon Sep 17 00:00:00 2001 From: Hendrik Behme Date: Thu, 8 Aug 2024 02:10:33 +0200 Subject: [PATCH] added login --- .gitea/workflows/gitea-ci.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index 1ea3dfe..1c05c84 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -8,13 +8,18 @@ jobs: if: gitea.ref == 'refs/heads/master' steps: - uses: https://github.com/actions/checkout@v4 + - name: Log in to the Container registry + uses: docker/login-action@v2 + with: + registry: git.whimsoc.dev + username: ${{ github.repository_owner }} + password: ${{ secrets.GITEA_TOKEN }} - name: Set up Docker Buildx uses: https://github.com/docker/setup-buildx-action@v3 with: config-inline: | [registry."git.whimsoc.dev"] - http = true - insecure = true + https = true - name: Build and push Docker image uses: https://github.com/docker/build-push-action@v5 with: