Compare commits

..

11 commits

Author SHA1 Message Date
fff634e07e
update renovate token
All checks were successful
/ Renovate (push) Successful in 4m34s
2025-01-12 16:38:42 -06:00
932d1f21bd
permissions
All checks were successful
/ Renovate (push) Successful in 9s
2025-01-12 12:39:29 -06:00
3e593b9b94
Test
All checks were successful
/ Renovate (push) Successful in 2m9s
2025-01-12 12:28:11 -06:00
2a586baba3
to host
All checks were successful
/ Renovate (push) Successful in 2m9s
2025-01-12 12:23:49 -06:00
ae097a24f8
test
All checks were successful
/ Renovate (push) Successful in 2m21s
2025-01-12 12:19:37 -06:00
edfa9f9f3a
update runs-on
All checks were successful
/ Renovate (push) Successful in 7m3s
2025-01-12 12:09:16 -06:00
dec9d3c68b
Test
All checks were successful
/ Renovate (push) Successful in 2m11s
2025-01-12 12:04:47 -06:00
b6e88cd3a8
Test
All checks were successful
/ Renovate (push) Successful in 2m10s
2025-01-12 12:00:42 -06:00
707a1882a6
correct label
All checks were successful
/ Renovate (push) Successful in 2m10s
2025-01-12 11:44:54 -06:00
551d92d5a4
Test
Some checks are pending
/ Renovate (push) Waiting to run
2025-01-12 11:41:28 -06:00
d7ba661a43
dubug renovate
All checks were successful
/ Renovate (push) Successful in 2m8s
2025-01-12 11:32:43 -06:00
2 changed files with 26 additions and 32 deletions

View file

@ -12,7 +12,7 @@ jobs:
if: secrets.MIRROR_TOKEN != ''
runs-on: docker
container:
image: alpine:3.21@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099
image: alpine:3.21@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45
steps:
- name: Install packages

View file

@ -27,42 +27,36 @@ jobs:
show-progress: false
- name: Renovate
run: |
echo "Testing docker login..."
docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}"
renovate ${{ env.INPUT_ARGS }}
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
LOG_LEVEL: debug
LOG_FORMAT: json
RENOVATE_ENDPOINT: ${{ github.server_url }}
# Global config
RENOVATE_BINARY_SOURCE: "docker"
RENOVATE_PLATFORM: gitea
RENOVATE_TOKEN: ${{ github.repository == 'jahanson/renovate-config' && secrets.TOKEN || secrets.GITHUB_TOKEN }}
RENOVATE_ENDPOINT: ${{ github.server_url }}
RENOVATE_TOKEN: ${{ secrets.RUNAS_USER_TOKEN }}
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
# RENOVATE_DOCKER_USER: "$(id -u):$(cut -d: -f3 < <(getent group docker))"
RENOVATE_DOCKER_USER: "$(id -u):0"
# Git config
RENOVATE_GIT_AUTHOR: 'Renovate Bot <smeagol@hsn.dev>'
RENOVATE_HOST_RULES: |-
[
{
"matchHost": "hub.docker.com",
"hostType": "",
"username": "${{ secrets.DOCKER_USERNAME }}",
"password": "${{ secrets.DOCKER_PASSWORD }}"
},
{
"matchHost": "ghcr.io",
"hostType": "",
"username": "${{ secrets.GH_USERNAME }}",
"password": "${{ secrets.GH_TOKEN }}"
},
{
"matchHost": "git.hsn.dev",
"username": "${{ secrets.DOCKER_USERNAME }}",
"token": "${{ secrets.MIRROR_TOKEN }}"
}
]
GIT_AUTHOR_NAME: 'Renovate Bot'
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'
GIT_COMMITTER_NAME: 'Renovate Bot'
GIT_COMMITTER_EMAIL: 'smeagol@hsn.dev'
# # Authentication using host rules format
# GITHUB_GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
# DOCKER_DOCKER_IO_USERNAME: ${{ secrets.DOCKER_USERNAME }}
# DOCKER_DOCKER_IO_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
# DOCKER_GHCR_IO_USERNAME: ${{ secrets.GH_USERNAME }}
# DOCKER_GHCR_IO_PASSWORD: ${{ secrets.GH_TOKEN }}
# GITEA_GIT_HSN_DEV_TOKEN: ${{ secrets.MIRROR_TOKEN }}
# Logging
LOG_LEVEL: debug
LOG_FORMAT: json
LOG_FILE_LEVEL: debug
# Command execution
INPUT_ARGS: ${{ inputs.args || (github.repository != 'jahanson/renovate-config' && github.repository) || '--autodiscover' }}
run: renovate ${{ env.INPUT_ARGS }}