ci: legg til git clone fra Gitea som første build-steg
This commit is contained in:
parent
ca09d4202e
commit
382fd1e925
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user