self-host renovate
Some checks failed
/ Renovate (push) Failing after 3s

This commit is contained in:
Joseph Hanson 2025-01-02 04:21:55 -06:00
parent d1fa89f769
commit 010b1146a0
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 6 additions and 9 deletions

View file

@ -52,14 +52,12 @@ runs:
RENOVATE_ENDPOINT: ${{ github.server_url }}
RENOVATE_GIT_AUTHOR: 'Renovate Bot <smeagol@hsn.dev>'
RENOVATE_PLATFORM: gitea
RENOVATE_REPOSITORY_CACHE: 'enabled'
RENOVATE_REPOSITORY_CACHE: 'disabled'
RENOVATE_TOKEN: ${{ inputs.token }}
# RENOVATE_HOST_RULES: |-
# [
# {"matchHost":"docker.io","hostType":"docker","username":"${{ inputs.docker-username }}","password":"${{ inputs.docker-password }}"},
# {"matchHost":"ghcr.io","hostType":"docker","username":"${{ inputs.github-username }}","password":"${{ inputs.github-token }}"},
# {"matchHost":"github.com","hostType":"github","token":"${{ inputs.github-token }}"}
# ]
RENOVATE_HOST_RULES: |-
[
{"matchHost":"docker.io","hostType":"docker","username":"${{ inputs.docker-username }}","password":"${{ inputs.docker-password }}"},
]
GIT_AUTHOR_NAME: 'Renovate Bot'
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'
GIT_COMMITTER_NAME: 'Renovate Bot'

View file

@ -19,7 +19,7 @@ jobs:
name: Renovate
runs-on: docker-x86_64
container:
image: ghcr.io/renovatebot/renovate:39.87.0@sha256:3a17d23d6fb3ca2169b079bf2c970cb25567be639ba42bb2064750973b69b83c
image: git.hsn.dev/renovate-config/renovate:39.87.0@sha256:3a17d23d6fb3ca2169b079bf2c970cb25567be639ba42bb2064750973b69b83c
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@ -31,7 +31,6 @@ jobs:
endpoint: https://git.hsn.dev/api/v1/
token: ${{ secrets.RUNAS_USER_TOKEN }}
args: --platform gitea --autodiscover
github-username: ${{ secrets.GH_USERNAME }}
github-token: ${{ secrets.GH_TOKEN }}
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_PASSWORD }}