From 3d01ba740842af8af1d3b5034983cbc4d61441aa Mon Sep 17 00:00:00 2001 From: alpha-nerd-nomyo Date: Thu, 2 Apr 2026 13:35:49 +0200 Subject: [PATCH] fix: bypass automatic repo base_url --- .forgejo/workflows/docker-publish-semantic.yml | 7 ++++--- .forgejo/workflows/docker-publish.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) 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