Change building latest docker image
This commit is contained in:
parent
75174c2496
commit
b7ec975384
2 changed files with 17 additions and 1 deletions
17
.drone.yml
17
.drone.yml
|
@ -517,6 +517,23 @@ steps:
|
||||||
ref:
|
ref:
|
||||||
- "refs/tags/**"
|
- "refs/tags/**"
|
||||||
|
|
||||||
|
- name: manifest-release-latest
|
||||||
|
pull: always
|
||||||
|
image: plugins/manifest
|
||||||
|
depends_on:
|
||||||
|
- clone
|
||||||
|
settings:
|
||||||
|
tags: latest
|
||||||
|
ignore_missing: true
|
||||||
|
spec: docker-manifest.tmpl
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- "refs/tags/**"
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
image: vikunja/frontend:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
image: vikunja/frontend:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||||
{{#if build.tags}}
|
{{#if build.tags}}
|
||||||
tags:
|
tags:
|
||||||
- latest
|
|
||||||
{{#each build.tags}}
|
{{#each build.tags}}
|
||||||
- {{this}}
|
- {{this}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
Loading…
Reference in a new issue