Compare commits
11 commits
renovate/a
...
main
Author | SHA1 | Date | |
---|---|---|---|
fff634e07e | |||
932d1f21bd | |||
3e593b9b94 | |||
2a586baba3 | |||
ae097a24f8 | |||
edfa9f9f3a | |||
dec9d3c68b | |||
b6e88cd3a8 | |||
707a1882a6 | |||
551d92d5a4 | |||
d7ba661a43 |
1 changed files with 25 additions and 31 deletions
|
@ -27,42 +27,36 @@ jobs:
|
||||||
show-progress: false
|
show-progress: false
|
||||||
|
|
||||||
- name: Renovate
|
- name: Renovate
|
||||||
run: |
|
|
||||||
echo "Testing docker login..."
|
|
||||||
docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}"
|
|
||||||
renovate ${{ env.INPUT_ARGS }}
|
|
||||||
env:
|
env:
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
# Global config
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
RENOVATE_BINARY_SOURCE: "docker"
|
||||||
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
||||||
LOG_LEVEL: debug
|
|
||||||
LOG_FORMAT: json
|
|
||||||
RENOVATE_ENDPOINT: ${{ github.server_url }}
|
|
||||||
RENOVATE_PLATFORM: gitea
|
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_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_NAME: 'Renovate Bot'
|
||||||
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'
|
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'
|
||||||
GIT_COMMITTER_NAME: 'Renovate Bot'
|
GIT_COMMITTER_NAME: 'Renovate Bot'
|
||||||
GIT_COMMITTER_EMAIL: 'smeagol@hsn.dev'
|
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' }}
|
INPUT_ARGS: ${{ inputs.args || (github.repository != 'jahanson/renovate-config' && github.repository) || '--autodiscover' }}
|
||||||
|
run: renovate ${{ env.INPUT_ARGS }}
|
||||||
|
|
Loading…
Reference in a new issue