You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buildtest/.gitlab-ci.yml

35 lines
665 B
YAML

1 year ago
stages:
- build_on_main
- build_on_tag
.tag_only: &tag_only
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
.ddadevops: &ddo
11 months ago
image: "domaindrivenarchitecture/ddadevops:4.5.5-dev2023-08-17-09-15-42"
before_script:
- export RELEASE_ARTIFACT_TOKEN=$test
- export PROTECTED_TOKEN_EXAMPLE=$PROTECTED_TOKEN_EXAMPLE
1 year ago
build_on_main:
<<: *ddo
1 year ago
stage: build_on_main
script:
- echo "buld on main"
- pyb publish_artifacts
1 year ago
build_on_tag:
<<: *ddo
<<: *tag_only
1 year ago
stage: build_on_tag
script:
- echo "buld on tag"
- pyb publish_artifacts