diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 8a3542f..62670df 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -101,8 +101,8 @@ jobs: steps: - name: Checkout repository with Git run: | - echo ===== Cloning repository ===== - git clone --depth 1 --branch ${{ github.ref_name }} https://github.com/${{ github.repository }}.git repo + echo ===== Cloning repository from Gitea ===== + git clone --depth 1 --branch ${{ github.ref_name }} https://alessio:%REGISTRY_TOKEN%@gitea.home-nas-ds.org/${{ github.repository }}.git repo if errorlevel 1 ( echo Failed to clone repository exit /b 1 @@ -120,6 +120,8 @@ jobs: dir /B exit /b 1 ) + env: + REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} shell: cmd - name: Debug - Verify files