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

also create a release on tags

parent 2b61ac1c
......@@ -15,16 +15,20 @@ stages:
build:
stage: kaniko
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --no-push
except:
variables:
- $CI_COMMIT_TAG
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --no-push
push:
stage: kaniko
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
only:
variables:
- $CI_COMMIT_TAG
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
release:
name: "Release ${CI_COMMIT_TAG}"
description: "Automatically created by the pipeline"
tag_name: ${CI_COMMIT_TAG}
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