I am running a Gitea/DroneCI set-up. In Gitea I have set a secret organization-wide. I can run pipelines from DroneCI successfully, but seems I cannot access the secret. I am Gitea org admin, and regular user in DroneCI. This is how the pipeline looks, very basic:
kind: pipeline
name: default
type: docker
steps:
- name: test
image: alpine
environment:
TEST_SECRET:
from_secret: SECRET_CAN_BE_READ
commands:
- echo $TEST_SECRET
If I check on the Organization/secrets of that repo on Drone I do not see any, despite there is one in Gitea… but I do not know if this is expected. What am I doing wrong?