From 7e6319b7bb323baaa3a834b328c81af5b5da85d7 Mon Sep 17 00:00:00 2001 From: Scott Hatlen Date: Mon, 9 Mar 2026 19:31:07 -0700 Subject: [PATCH] Use git clone instead of actions/checkout for buildah container --- .gitea/workflows/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index cb53e12..d29c20f 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -12,7 +12,9 @@ jobs: image: quay.io/buildah/stable steps: - name: Checkout - uses: actions/checkout@v4 + run: | + git clone --depth 1 --branch "${{ github.ref_name }}" "${{ github.server_url }}/${{ github.repository }}.git" . + git checkout "${{ github.sha }}" - name: Build image run: |