graphicek/.drone.yml

20 lines
528 B
YAML

kind: pipeline
type: docker
name: build & publish image
steps:
- name: build & publish
image: plugins/docker
settings:
registry: containers.zipek.cz
username:
from_secret: zipek_registry_username
password:
from_secret: zipek_registry_password
repo: containers.zipek.cz/kamen/graphicek
tags:
- "${DRONE_BRANCH}"
- "${DRONE_BRANCH}-${DRONE_COMMIT}"
cache_from:
- "containers.zipek.cz/kamen/graphicek:master"
- "containers.zipek.cz/kamen/graphicek:${DRONE_BRANCH}"