chore: add drone file #1
|
@ -13,6 +13,6 @@ steps:
|
||||||
image: gcr.io/kaniko-project/executor:v1.7.0-debug
|
image: gcr.io/kaniko-project/executor:v1.7.0-debug
|
||||||
commands:
|
commands:
|
||||||
- echo "init registry credentials"
|
- echo "init registry credentials"
|
||||||
|
- echo $DRONE_WORKSPACE
|
||||||
- mkdir -p /kanico/.docker
|
- mkdir -p /kanico/.docker
|
||||||
- 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 ${DRONE_WORKSPACE} --dockerfile ${DRONE_WORKSPACE}/Dockerfile --destination ${CI_REGISTRY_IMAGE}:${IMAGE_TAG}
|
|
Loading…
Reference in New Issue