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
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…