test/.drone.yml
Julien Fastré aab30f3daf
All checks were successful
continuous-integration/drone/push Build is passing
try with secret pareamter
2022-12-19 21:38:21 +01:00

46 lines
812 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: 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
...