diff --git a/.forgejo/workflows/docker-publish-semantic.yml b/.forgejo/workflows/docker-publish-semantic.yml index 629b3f3..5ab9c78 100644 --- a/.forgejo/workflows/docker-publish-semantic.yml +++ b/.forgejo/workflows/docker-publish-semantic.yml @@ -44,9 +44,10 @@ jobs: apt-get install -y -qq docker.io - name: Checkout repository - uses: https://github.com/actions/checkout@v4 - with: - github-server-url: https://bitfreedom.net/code + run: | + git clone --depth=1 --branch "${{ github.ref_name }}" \ + "https://oauth2:${{ github.token }}@bitfreedom.net/code/${{ github.repository }}.git" \ + . - name: Set up QEMU (for multi-arch builds) uses: https://github.com/docker/setup-qemu-action@v3 diff --git a/.forgejo/workflows/docker-publish.yml b/.forgejo/workflows/docker-publish.yml index d8ad675..87bb589 100644 --- a/.forgejo/workflows/docker-publish.yml +++ b/.forgejo/workflows/docker-publish.yml @@ -37,9 +37,10 @@ jobs: apt-get install -y -qq docker.io - name: Checkout repository - uses: https://github.com/actions/checkout@v4 - with: - github-server-url: https://bitfreedom.net/code + run: | + git clone --depth=1 --branch "${{ github.ref_name }}" \ + "https://oauth2:${{ github.token }}@bitfreedom.net/code/${{ github.repository }}.git" \ + . - name: Set up QEMU (for multi-arch builds) uses: https://github.com/docker/setup-qemu-action@v3