Изменил(а) на '.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
|
kind: pipeline
|
||||||
name: Build image
|
name: Build image
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- dockerconfig
|
- dockerconfig
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
image: gcr.io/kaniko-project/executor:debug
|
image: gcr.io/kaniko-project/executor:debug
|
||||||
|
@ -12,7 +13,6 @@ steps:
|
||||||
DOCKER_AUTH:
|
DOCKER_AUTH:
|
||||||
from_secret: dockerconfig
|
from_secret: dockerconfig
|
||||||
IMAGE_PREFIX: mxfox.ru/mxfox/module-packer
|
IMAGE_PREFIX: mxfox.ru/mxfox/module-packer
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- echo $${DOCKER_AUTH} > ~/.docker/config.json
|
- echo $${DOCKER_AUTH} > /kaniko/.docker/config.json
|
||||||
- /kaniko/executor --destination $${IMAGE_PREFIX}:latest
|
- /kaniko/executor --context `pwd` --destination $${IMAGE_PREFIX}:latest
|
Loading…
Reference in New Issue