diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index fb7e07f..aede9ef 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -11,11 +11,14 @@ jobs: container: image: docker:cli steps: + - name: Install git + run: apk add --no-cache git + - name: Checkout Continuwuity - uses: actions/checkout@v4 - with: - repository: ember/continuwuity - ref: ${{ github.event.client_payload.ref || 'main' }} + run: | + REF=${{ github.event.client_payload.ref || 'main' }} + git clone --depth 1 --branch "${REF##refs/heads/}" \ + http://forgejo.tooling.svc.cluster.local:3000/ember/continuwuity.git . - name: Build container image run: |