diff --git a/.drone.yml b/.drone.yml index 2f8341a..d3354be 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,10 +2,6 @@ kind: pipeline type: docker name: build & publish image -trigger: - event: - - tag - steps: - name: build & publish image: plugins/docker @@ -15,4 +11,10 @@ steps: from_secret: zipek_registry_username password: from_secret: zipek_registry_password - repo: containers.zipek.cz/kamen/graphicek \ No newline at end of file + 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}" \ No newline at end of file