2022-06-25 14:13:59 +00:00
|
|
|
pipeline:
|
2022-06-25 14:14:12 +00:00
|
|
|
build:
|
|
|
|
image: ubuntu:20.04
|
|
|
|
environment:
|
|
|
|
TEST1: "test1"
|
|
|
|
TEST2: "test2"
|
|
|
|
commands:
|
|
|
|
- mkdir test
|
|
|
|
- echo $TEST1
|
|
|
|
- echo $${TEST2}
|
|
|
|
- echo "geht :D" > test/test
|
|
|
|
|
|
|
|
release:
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
base_url: https://gitea.makerlab-murnau.de
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_token
|
|
|
|
files: test/*
|
|
|
|
when:
|
|
|
|
event: tag
|