38 lines
785 B
YAML
38 lines
785 B
YAML
# SPDX-FileCopyrightText: 2021 WTF Kooperative eG <https://wtf-eg.de/>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: docker-base
|
|
image: plugins/docker
|
|
settings:
|
|
registry: registry.wtf-eg.net
|
|
repo: registry.wtf-eg.net/ki-backend-base
|
|
target: base
|
|
auto_tag: true
|
|
pull_image: true
|
|
username:
|
|
from_secret: "docker_username"
|
|
password:
|
|
from_secret: "docker_password"
|
|
|
|
- name: docker-builder
|
|
image: plugins/docker
|
|
settings:
|
|
registry: registry.wtf-eg.net
|
|
repo: registry.wtf-eg.net/ki-backend-builder
|
|
target: builder
|
|
auto_tag: true
|
|
pull_image: true
|
|
username:
|
|
from_secret: "docker_username"
|
|
password:
|
|
from_secret: "docker_password"
|
|
|
|
trigger:
|
|
event:
|
|
- tag
|