From d4060a048baba7cbb5b5d3fc7de0715a41248d8f Mon Sep 17 00:00:00 2001 From: Pavel Dmitriev Date: Thu, 19 May 2022 14:47:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index a372607..e50dd4a 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file