From 8c238766d1d413e3dc337345ab589eeca75f1a0f Mon Sep 17 00:00:00 2001 From: ember Date: Mon, 16 Mar 2026 17:55:49 +0000 Subject: [PATCH] Update .forgejo/workflows/build.yaml --- .forgejo/workflows/build.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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: |