21 lines
407 B
YAML
21 lines
407 B
YAML
|
skip_clone: true
|
||
|
steps:
|
||
|
- name: Test image (prod)
|
||
|
image: ${REGISTRY_URL}/${CI_REPO}:${CI_PIPELINE_NUMBER}
|
||
|
commands:
|
||
|
- echo test
|
||
|
when:
|
||
|
- branch: main
|
||
|
event: [push, manual]
|
||
|
- name: Test image
|
||
|
image: ${REGISTRY_URL}/${CI_REPO}:testing-${CI_PIPELINE_NUMBER}
|
||
|
commands:
|
||
|
- echo test
|
||
|
when:
|
||
|
- branch:
|
||
|
exclude: main
|
||
|
event: [push, manual]
|
||
|
depends_on:
|
||
|
- lint
|
||
|
- build
|