docker hub auth
All checks were successful
/ Renovate (push) Successful in 4m24s

This commit is contained in:
Joseph Hanson 2025-01-01 10:26:08 -06:00
parent 343448f466
commit 2fb1a240a0
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
3 changed files with 10 additions and 5 deletions

View file

@ -39,11 +39,11 @@ runs:
GITHUB_COM_TOKEN: ${{ inputs.github-token }}
LOG_LEVEL: debug
RENOVATE_BASE_DIR: ${{ github.workspace }}/.tmp
RENOVATE_ENDPOINT: ${{ inputs.endpoint }}
RENOVATE_ENDPOINT: ${{ github.server_url }}
RENOVATE_GIT_AUTHOR: 'Renovate Bot <smeagol@hsn.dev>'
RENOVATE_PLATFORM: gitea
RENOVATE_REPOSITORY_CACHE: 'enabled'
RENOVATE_TOKEN: ${{ inputs.token }}
RENOVATE_GIT_AUTHOR: 'Renovate Bot <smeagol@hsn.dev>'
GIT_AUTHOR_NAME: 'Renovate Bot'
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'

View file

@ -13,6 +13,8 @@ on:
type: boolean
env:
RENOVATE_DRY_RUN: "${{ inputs.dryRun == true }}"
DOCKER_USERNAME: "${{ secrets.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
jobs:
renovate:
name: Renovate
@ -42,5 +44,8 @@ jobs:
endpoint: https://git.hsn.dev/api/v1/
token: ${{ secrets.RENOVATE_TOKEN }}
github-token: ${{ secrets.GH_TOKEN }}
args: --platform gitea --autodiscover
args: >-
--platform gitea
--autodiscover
--host-rules='[{"matchHost":"docker.io","username":"${{ env.DOCKER_USERNAME }}","password":"${{ env.DOCKER_PASSWORD }}"}]'
save-cache: true

View file

@ -5,13 +5,13 @@
"semanticCommits": "enabled",
"packageRules": [
{
"description": "use fix scope for renovate updates",
"description": "Use fix scope for renovate updates",
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
"semanticCommitType": "fix"
},
{
"automerge": true,
"automergeType": "branch", // Directly merge to the branch without PR
"automergeType": "branch",
"description": "Automerge renovate updates",
"ignoreTests": true,
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],