Skip to content
Snippets Groups Projects
Commit b8526970 authored by Yana Kernerman's avatar Yana Kernerman Committed by Yana Kernerman
Browse files

run job only for tags

parent a817b15f
No related branches found
No related tags found
1 merge request!26Tut01
......@@ -35,7 +35,7 @@ job_build_artifact:
job_publish_artifact:
stage: publish
rules: # Conditions under which this job should run
- if: $CI_COMMIT_REF_NAME =~ /^.*$/ # Run this job for any branch or merge request event.
- if: $CI_COMMIT_TAG # only for tags
when: always
image: curlimages/curl:latest # Custom image with curl
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment