Skip to content
Snippets Groups Projects
Commit b93976d2 authored by Byungheong Jeong's avatar Byungheong Jeong
Browse files

Update .gitlab-ci.yml

parent 0e90fd5f
No related branches found
No related tags found
No related merge requests found
Pipeline #10734 failed
...@@ -9,6 +9,7 @@ build-and-push-job: ...@@ -9,6 +9,7 @@ build-and-push-job:
changes: changes:
- "**/*.yaml" - "**/*.yaml"
- "README.md" - "README.md"
- "screenshots/*.PNG"
script: script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - 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 --destination $CI_REGISTRY_IMAGE:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE:latest - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE:latest
\ No newline at end of file
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