Skip to content
Snippets Groups Projects
Commit ea90599c authored by Julian's avatar Julian
Browse files

Split build job into seperate jobs for buster and bullseye and limited to master

Fixes #1
parent 3916ba44
No related branches found
No related tags found
No related merge requests found
Pipeline #7640 failed
build-buster:
only:
- master
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
......@@ -6,4 +8,14 @@ build-buster:
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.buster --destination $CI_REGISTRY_IMAGE/buster:$CI_COMMIT_TAG
build-bullseye:
only:
- master
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.bullseye --destination $CI_REGISTRY_IMAGE/bullseye:$CI_COMMIT_TAG
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment