Merge branch 'fix/release-tag-clone' of sarman/tftsr-devops_investigation into master
This commit is contained in:
commit
a64b6c4798
@ -1,10 +1,13 @@
|
|||||||
---
|
---
|
||||||
clone:
|
clone:
|
||||||
git:
|
git:
|
||||||
image: woodpeckerci/plugin-git
|
image: alpine/git
|
||||||
network_mode: gogs_default
|
network_mode: gogs_default
|
||||||
environment:
|
commands:
|
||||||
- CI_REPO_CLONE_URL=http://gogs_app:3000/sarman/tftsr-devops_investigation.git
|
- git init -b master
|
||||||
|
- git remote add origin http://gogs_app:3000/sarman/tftsr-devops_investigation.git
|
||||||
|
- git fetch --depth=1 origin +refs/tags/${CI_COMMIT_TAG}:refs/tags/${CI_COMMIT_TAG}
|
||||||
|
- git checkout ${CI_COMMIT_TAG}
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build-linux-amd64:
|
build-linux-amd64:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user