diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 3f87dba..f8e34cc 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -16,6 +16,8 @@ jobs: name: Checkout repository shell: sh run: | + git config --global credential.helper store + echo "https://github:${{ secrets.GITHUB_TOKEN }}@$(echo "${{ github.server_url }}" | cut --bytes=9-)" > ~/.git-credentials git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }} - name: Authenticate with registry