Julien Fastré
89614302bb
All checks were successful
continuous-integration/drone/push Build is passing
55 lines
994 B
YAML
55 lines
994 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: print_secret
|
|
image: python:3
|
|
secrets: [secret]
|
|
environment:
|
|
SECRET:
|
|
from_secret: secret
|
|
commands:
|
|
- python3 print_secret.py
|
|
|
|
- name: print a not secret
|
|
image: python:3
|
|
environment:
|
|
SECRET: "not secret"
|
|
commands:
|
|
- python3 print_secret.py
|
|
|
|
- name: test
|
|
image: python:3
|
|
commands:
|
|
- python3 test.py
|
|
|
|
- name: gitea_release
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key:
|
|
from_secret: gitea_key
|
|
base_url: https://gitea.champs-libres.be
|
|
title: ${DRONE_SEMVER}
|
|
prerelease: true
|
|
files:
|
|
- test2.pdf
|
|
checksum:
|
|
- md5
|
|
- sha1
|
|
- sha256
|
|
when:
|
|
event: tag
|
|
|
|
|
|
# ---
|
|
# kind: secret
|
|
# name: username
|
|
# data: DfV0e3ycBlN36K0yfXwGd2LgVNzDe3+cWUlTAqyLtM17BUVdGg==
|
|
|
|
---
|
|
kind: signature
|
|
hmac: 8de9b4635dc566263df694f898ad3cf4536c1481aa5a03e004dc6d0a05a8fe69
|
|
|
|
...
|