Skip to content
Snippets Groups Projects
Unverified Commit 723f7eef authored by karp's avatar karp
Browse files

Make `testing` optional

parent f8217c9d
No related branches found
No related tags found
1 merge request!24Update pipeline to check types and formatting
Pipeline #6702 passed
......@@ -29,6 +29,8 @@ docker-build:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
stage: build
# Run build stage regardless of the status of the test stage
when: always
before_script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
......@@ -37,4 +39,3 @@ docker-build:
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
only:
- master
needs: [testing]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment