From 382fd1e9258bd15ab78a992e7445120061a0b4da Mon Sep 17 00:00:00 2001 From: Chris Christiansen Date: Sun, 5 Jul 2026 13:53:38 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20legg=20til=20git=20clone=20fra=20Gitea=20?= =?UTF-8?q?som=20f=C3=B8rste=20build-steg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloudbuild.mcp.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cloudbuild.mcp.yaml b/cloudbuild.mcp.yaml index 81d79e6..ea9d784 100644 --- a/cloudbuild.mcp.yaml +++ b/cloudbuild.mcp.yaml @@ -4,6 +4,16 @@ # SA: jason-vauger@propane-will-491900-m5.iam.gserviceaccount.com steps: + - name: 'alpine/git' + id: clone + entrypoint: 'sh' + args: + - '-c' + - | + git clone --depth=1 --branch=main \ + http://136.111.198.14:3000/chris/osvauco.git /workspace/src + cp -r /workspace/src/. /workspace/ + # Steg 1: Bygg Docker-image - name: 'gcr.io/cloud-builders/docker' id: build