Files
appstore/.github/workflows/renovate-dockerhub-preflight.yml
T
okxlin 9a49d3898b Add a Docker Hub credential preflight
Validate the configured Docker Hub credentials against the token service and a public manifest before starting a full Renovate scan. Provide a small manual workflow so maintainers can diagnose authentication without consuming a full scan.
2026-07-12 11:09:58 +08:00

21 lines
562 B
YAML

name: Renovate Docker Hub credential preflight
on:
workflow_dispatch:
permissions:
contents: read
jobs:
preflight:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Check Docker Hub credentials
env:
RENOVATE_DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
RENOVATE_DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
run: node .github/scripts/check_dockerhub_credentials.mjs