Commit 2b61ac1c authored by Sandro Mathys's avatar Sandro Mathys
Browse files

CI: only use one stage

parent accbeca3
......@@ -11,11 +11,10 @@ default:
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"username\":\"${CI_REGISTRY_USER}\",\"password\":\"${CI_REGISTRY_PASSWORD}\"}}}" > /kaniko/.docker/config.json
stages:
- build
- push
- kaniko
build:
stage: build
stage: kaniko
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --no-push
except:
......@@ -23,7 +22,7 @@ build:
- $CI_COMMIT_TAG
push:
stage: push
stage: kaniko
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
only:
......
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