Browse Source

Change building latest docker image

pull/705/head
kolaente 10 months ago
parent
commit
b7ec975384
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
  1. 17
      .drone.yml
  2. 1
      docker-manifest.tmpl

17
.drone.yml

@ -516,6 +516,23 @@ steps:
when:
ref:
- "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

1
docker-manifest.tmpl

@ -1,7 +1,6 @@
image: vikunja/frontend:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
- latest
{{#each build.tags}}
- {{this}}
{{/each}}

Loading…
Cancel
Save