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