add credentials
Some checks failed
/ build (push) Failing after 21s

This commit is contained in:
Hornwitser 2025-05-16 19:08:29 +02:00
parent 8593a3aed7
commit e711104184

View file

@ -16,6 +16,8 @@ jobs:
name: Checkout repository name: Checkout repository
shell: sh shell: sh
run: | 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 }} git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}
- -
name: Authenticate with registry name: Authenticate with registry