feat(build-push-to-dockerhub): enable docker mirror for buildx on self-hosted runners #2416
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint PR title | |
on: | |
pull_request: | |
types: | |
- edited | |
- opened | |
- ready_for_review | |
- synchronize | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
lint-pr-title: | |
permissions: | |
contents: read | |
pull-requests: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden the runner (Audit all outbound calls) | |
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0 | |
with: | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
persist-credentials: false | |
- id: lint-pr-title | |
name: Lint PR title | |
uses: ./actions/lint-pr-title | |
# This is an integration test ensuring that we don't regress absolute path | |
# support | |
- name: Copy lint-pr-title config to temp dir | |
run: | | |
cp actions/lint-pr-title/commitlint.config.js "${{ runner.temp }}/commitlint.config.js" | |
- id: lint-pr-title-separate-config | |
name: Lint PR title with separate config | |
uses: ./actions/lint-pr-title | |
with: | |
config-path: "${{ runner.temp }}/commitlint.config.js" |