Merge pull request 'Refactored kaniko to use another config file path' (#39) from test into main
Some checks failed
continuous-integration/drone Build is failing
Some checks failed
continuous-integration/drone Build is failing
Reviewed-on: #39
This commit was merged in pull request #39.
This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -32,12 +32,12 @@ steps:
|
|||||||
- name: build and push
|
- name: build and push
|
||||||
image: gcr.io/kaniko-project/executor:debug
|
image: gcr.io/kaniko-project/executor:debug
|
||||||
environment:
|
environment:
|
||||||
DOCKER_CONFIG: /drone/src/.docker
|
DOCKER_CONFIG: /kaniko/.docker
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /drone/src/.docker
|
- mkdir -p /kaniko/.docker
|
||||||
- echo $DOCKER_CONFIG_SECRET > /drone/src/.docker/config.json
|
- echo "$DOCKER_CONFIG_SECRET" > /kaniko/.docker/config.json
|
||||||
- /kaniko/executor
|
- /kaniko/executor
|
||||||
--context=.
|
--context=.
|
||||||
--dockerfile=Dockerfile
|
--dockerfile=Dockerfile
|
||||||
--destination=index.docker.io/khwezi/webapitest:${DRONE_BUILD_NUMBER}
|
--destination=khwezi/webapitest:latest
|
||||||
--destination=index.docker.io/khwezi/webapitest:latest
|
--destination=khwezi/webapitest:${DRONE_BUILD_NUMBER}
|
||||||
Reference in New Issue
Block a user