wip12
This commit is contained in:
parent
9fca9bb140
commit
b0dc9f19aa
|
@ -15,4 +15,5 @@ steps:
|
||||||
- echo "init registry credentials"
|
- echo "init registry credentials"
|
||||||
- echo $DRONE_WORKSPACE
|
- 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 Dockerfile --destination $CI_REGISTRY_IMAGE:$IMAGE_TAG
|
Loading…
Reference in New Issue