29 lines
367 B
YAML
29 lines
367 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: main
|
|
|
|
steps:
|
|
- name: Tag commit
|
|
image: alpine
|
|
commands:
|
|
- echo This would create a tag
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: develop
|
|
|
|
steps:
|
|
- name: Tag commit
|
|
image: alpine
|
|
commands:
|
|
- echo This would build the app and run test
|
|
|
|
trigger:
|
|
branch:
|
|
- develop
|
|
... |