module-packer/.drone.yml

19 lines
402 B
YAML
Raw Normal View History

2022-05-19 11:19:44 +00:00
---
kind: pipeline
name: Build image
image_pull_secrets:
- dockerconfig
steps:
- name: Build docker image
image: gcr.io/kaniko-project/executor:debug
environment:
DOCKER_AUTH:
from_secret: dockerconfig
IMAGE_PREFIX: mxfox.ru/mxfox/module-packer
commands:
- echo $${DOCKER_AUTH} > /kaniko/.docker/config.json
- /kaniko/executor --destination $${IMAGE_PREFIX}:latest