Изменил(а) на '.drone.yml'
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pavel Dmitriev 2022-05-19 14:47:53 +03:00
parent 6de7d69746
commit d4060a048b
1 changed files with 5 additions and 5 deletions

View File

@ -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