forked from kompetenzinventar/ki-frontend
44 lines
862 B
YAML
44 lines
862 B
YAML
---
|
|
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: reuse
|
|
image: fsfe/reuse:latest
|
|
|
|
- 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"
|
|
when:
|
|
event:
|
|
- push
|
|
branch:
|
|
- main
|
|
|
|
- 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
|