Skip to content

Commit

Permalink
Attempt image autotagging with dry run (no image pushing)
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoinkinen committed Jul 16, 2019
1 parent 26540e0 commit a1903e6
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: pipeline
name: default
steps:

- name: docker
- name: docker-tagged-release
image: plugins/docker
settings:
dockerfile: Dockerfile
Expand All @@ -12,22 +12,12 @@ steps:
from_secret: docker_password
registry: quay.io
repo: quay.io/natlibfi/annif
tags: [latest]

- name: docker-dev
image: plugins/docker
settings:
dockerfile: Dockerfile-dev
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: quay.io
repo: quay.io/natlibfi/annif
tags: [dev]
auto_tag: true
dry_run: true

trigger:
branch:
- master
- issue297-set-docker-image-tag-from-git-tag
event:
- push

0 comments on commit a1903e6

Please sign in to comment.