Commit f2c292ca authored by Sandro Mathys's avatar Sandro Mathys
Browse files

use simpler syntax to limit jobs by tag pushes

parent 86d0f508
......@@ -17,16 +17,14 @@ stages:
build:
stage: kaniko
except:
variables:
- $CI_COMMIT_TAG
- tags
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --no-push
push:
stage: kaniko
only:
variables:
- $CI_COMMIT_TAG
- tags
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
......@@ -39,8 +37,7 @@ release:
environment:
name: release
only:
variables:
- $CI_COMMIT_TAG
- tags
interruptible: true
# script or trigger is required :/
script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment