Added kaniko secret specification
This commit is contained in:
@@ -31,7 +31,11 @@ steps:
|
|||||||
|
|
||||||
- name: build and push
|
- name: build and push
|
||||||
image: gcr.io/kaniko-project/executor:latest
|
image: gcr.io/kaniko-project/executor:latest
|
||||||
|
environment:
|
||||||
|
DOCKER_CONFIG: /drone/src/.docker
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir -p /drone/src/.docker
|
||||||
|
- echo $DOCKER_CONFIG_SECRET > /drone/src/.docker/config.json
|
||||||
- /kaniko/executor
|
- /kaniko/executor
|
||||||
--context=.
|
--context=.
|
||||||
--dockerfile=Dockerfile
|
--dockerfile=Dockerfile
|
||||||
|
|||||||
Reference in New Issue
Block a user