1
0
Fork 0

gitlab-ci: Change from "only" to "rules"

Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
spacecruft
Alfredos-Panagiotis Damkalis 2020-05-20 17:59:25 +03:00
parent 9f76d3cb25
commit 1736abf6b2
1 changed files with 3 additions and 6 deletions

View File

@ -24,12 +24,9 @@ container_scanning:
variables:
CI_APPLICATION_REPOSITORY: ${CI_REGISTRY_IMAGE}/satnogs-db
CI_APPLICATION_TAG: ${CI_COMMIT_REF_NAME}
only:
refs:
- master
- tags
variables:
- $CI_REGISTRY_IMAGE
rules:
- if: $CI_REGISTRY_IMAGE && $CI_COMMIT_BRANCH == "master"
- if: $CI_REGISTRY_IMAGE && $CI_COMMIT_TAG
dependency_scanning:
stage: security
variables: