Skip to content

Instantly share code, notes, and snippets.

@badnetmask
Last active May 6, 2026 19:29
Show Gist options
  • Select an option

  • Save badnetmask/0f866e3213590a820916239c7aed1cab to your computer and use it in GitHub Desktop.

Select an option

Save badnetmask/0f866e3213590a820916239c7aed1cab to your computer and use it in GitHub Desktop.
name: Renovate
on:
schedule:
# The "*" (#42, asterisk) character has special semantics in YAML, so this
# string has to be quoted.
- cron: '0/15 * * * *'
jobs:
renovate:
runs-on: catthehacker-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run self-hosted Renovate
uses: https://github.com/renovatebot/github-action@v41.0.13
with:
docker-network: host
env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL|NODE_EXTRA_CA_CERTS)$"
docker-volumes: |
/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro ;
/usr/local/share/ca-certificates/homelab-ca.crt:/usr/local/share/ca-certificates/homelab-ca.crt:ro
env:
# LOG_LEVEL: "debug"
DOCKER_HOST: ${{ env.DOCKER_HOST }}
RENOVATE_ENDPOINT: ${{ github.api_url }}
RENOVATE_PLATFORM: "gitea"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
RENOVATE_REPOSITORIES: ${{ github.repository }}
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
NODE_EXTRA_CA_CERTS: "/usr/local/share/ca-certificates/homelab-ca.crt"
@brigon-dev

brigon-dev commented May 6, 2026

Copy link
Copy Markdown

@badnetmask: I love your Forgejo guides! I'm currently stuck on linking Renovate with Forgejo Actions. When running my yaml via Forgejo Actions, I get an error stating that Forgejo is unable to find 'docker'.

My workaround was to run a separate Renovate Docker container with all of the RENOVATE_ values. It works, but it's not a smooth experience.

Can you share your Docker compose files for Renovate with your secrets redacted for comparison. I can share mine as well if that's helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment