Update file docker.yml
This commit is contained in:
parent
121e912707
commit
089c62df36
1 changed files with 3 additions and 5 deletions
|
|
@ -3,17 +3,15 @@
|
|||
image:
|
||||
name: gcr.io/kaniko-project/executor:v1.9.1-debug
|
||||
entrypoint: [""]
|
||||
#before_script:
|
||||
# - echo "{\"auths\":{\"${CI_REGISTRY}\":{\"auth\":\"$(printf "%s:%s" "${CI_REGISTRY_USER}" "${CI_REGISTRY_PASSWORD}" | base64 | tr -d '\n')\"},\"$CI_DEPENDENCY_PROXY_SERVER\":{\"auth\":\"$(printf "%s:%s" ${CI_DEPENDENCY_PROXY_USER} "${CI_DEPENDENCY_PROXY_PASSWORD}" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
|
||||
script:
|
||||
- /kaniko/executor
|
||||
--context "${CI_PROJECT_DIR}"
|
||||
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
||||
--destination "${IMAGE_TAG}"
|
||||
allow_failure: false
|
||||
#dependencies:
|
||||
# - npm-build
|
||||
# - composer-build
|
||||
dependencies:
|
||||
- npm-build
|
||||
- composer-build
|
||||
needs:
|
||||
- job: npm-build
|
||||
optional: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue