Gitea release plugin from_secret does not work as expected

Hello,
I have self hosted gitea and drone servers on a raspberrypi (armv7) and I try to get latex document built and pushed as release artifact to gitea.
The build process works fine but the gitea_release fail with the message

You must provide an API key

Here is my .drone.yml

type: docker
kind: pipeline
name: default

platform:
  os: linux
  arch: arm

steps:
- name: compile
  image: lattay/texlive:armv7
  commands:
  - make
  when:
    event: tag
- name: gitea_release
  image: plugins/gitea-release
  settings:
    base_url: https://git.lattay.duckdns.org
    api_key:
      from_secret: gitea_token
    files: main.pdf
  when:
    event: tag

And here is the docker compose used to setup the drone server:

version: '3.8'
services:
    drone:
        image: drone/drone:1
        ports:
            - target: 80
              published: 7781
              protocol: tcp
              mode: host

        volumes:
            - /var/lib/drone:/data

        restart: always

        environment:
            DRONE_GITEA_CLIENT_ID: 'xxxx'
            DRONE_GITEA_CLIENT_SECRET: 'xxxx'
            DRONE_GITEA_SERVER: 'https://git.mypublicdomain.org'
            DRONE_GIT_ALWAYS_AUTH: 'true'
            DRONE_RPC_SECRET: 'xxxx'
            DRONE_SERVER_HOST: 'drone.mypublicdomain.org'
            DRONE_SERVER_PROTO: 'https'
    runner:
        image: drone/drone-runner-docker:1
        expose:
            - 3000

        volumes:
            - /var/run/docker.sock:/var/run/docker.sock

        environment:
            DRONE_RPC_HOST: 'drone_drone_1'
            DRONE_RPC_SECRET: 'xxxx'
            DRONE_SERVER_PROTO: 'http'

(sorry I am not quite sure of what is relevant)

Also I would happily give some drone command output if you can tell me how to access this command in a docker setup…

Did you create a secret named gitea_token in your repository settings screen?

This below thread provides a list of possible root causes, as well as a list of 6 items that one must provide in order to receive support related to secrets.

Oh no ! I did not get that actually ! I though from_secret was a way to use the same secret as in DRONE_GITEA_CLIENT_SECRET.
Ok, it’s probably the problem, I’ll get that fixed.