Изменил(а) на '.drone.yml'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
6de7d69746
commit
d4060a048b
10
.drone.yml
10
.drone.yml
|
@ -1,10 +1,11 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: Build image
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
image_pull_secrets:
|
||||
- dockerconfig
|
||||
|
||||
steps:
|
||||
- name: Build docker image
|
||||
image: gcr.io/kaniko-project/executor:debug
|
||||
|
@ -12,7 +13,6 @@ steps:
|
|||
DOCKER_AUTH:
|
||||
from_secret: dockerconfig
|
||||
IMAGE_PREFIX: mxfox.ru/mxfox/module-packer
|
||||
|
||||
commands:
|
||||
- echo $${DOCKER_AUTH} > ~/.docker/config.json
|
||||
- /kaniko/executor --destination $${IMAGE_PREFIX}:latest
|
||||
- echo $${DOCKER_AUTH} > /kaniko/.docker/config.json
|
||||
- /kaniko/executor --context `pwd` --destination $${IMAGE_PREFIX}:latest
|
Loading…
Reference in New Issue