ki-frontend/.drone.yml

44 lines
862 B
YAML
Raw Permalink Normal View History

2021-07-26 21:01:45 +02:00
---
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
kind: pipeline
type: docker
name: default
2021-07-26 21:08:50 +02:00
steps:
2021-09-19 12:55:33 +02:00
- name: reuse
image: fsfe/reuse:latest
2022-02-28 19:32:04 +01:00
2021-07-26 21:01:45 +02:00
- name: docker-publish
image: plugins/docker
settings:
registry: registry.wtf-eg.net
repo: registry.wtf-eg.net/ki-frontend
target: ki-frontend
auto_tag: true
username:
from_secret: "docker_username"
password:
from_secret: "docker_password"
2021-10-10 19:59:07 +02:00
when:
2022-02-28 19:32:04 +01:00
event:
- push
2021-10-10 19:59:07 +02:00
branch:
- main
2022-02-28 19:32:04 +01:00
- name: docker-publish-tag
image: plugins/docker
settings:
registry: registry.wtf-eg.net
repo: registry.wtf-eg.net/ki-frontend
target: ki-frontend
auto_tag: true
username:
from_secret: "docker_username"
password:
from_secret: "docker_password"
when:
event:
- tag