From 60fecaf25727c63692ded1b9b5859876c873b18e Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 2 Jan 2025 05:46:14 -0600 Subject: [PATCH] fix docker vs docker hub --- .forgejo/workflows/renovate.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/renovate.yaml b/.forgejo/workflows/renovate.yaml index 8d2d88e..2a983fe 100644 --- a/.forgejo/workflows/renovate.yaml +++ b/.forgejo/workflows/renovate.yaml @@ -54,8 +54,11 @@ jobs: RENOVATE_REPOSITORY_CACHE: 'enabled' RENOVATE_TOKEN: ${{ github.repository == 'jahanson/renovate-config' && secrets.TOKEN || secrets.GITHUB_TOKEN }} RENOVATE_GIT_AUTHOR: 'Renovate Bot ' - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + RENOVATE_HOST_RULES: |- + [ + {"matchHost":"docker.io","hostType":"docker","username":"${{ secrets.DOCKER_USERNAME }}","password":"${{ secrets.DOCKER_PASSWORD }}"}, + {"matchHost":"ghcr.io","hostType":"docker","username":"${{ sec.github-username }}","password":"${{ inputs.github-token }}"}, + ] RENOVATE_X_SQLITE_PACKAGE_CACHE: true GIT_AUTHOR_NAME: 'Renovate Bot' GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'