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: |