Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue297 set docker image tag from git tag #298

Merged
merged 8 commits into from
Jul 16, 2019
14 changes: 14 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ steps:
repo: quay.io/natlibfi/annif
tags: [dev]

- name: docker-tag-image-with-git-tag
image: plugins/docker
settings:
dockerfile: Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: quay.io
repo: quay.io/natlibfi/annif
auto_tag: true
when:
event: tag

trigger:
branch:
- master
Expand Down