























@@ -774,11 +774,10 @@ jobs:
774774775775 - name: Log in to GHCR for shared Docker E2E image
776776if: contains(matrix.profiles, inputs.release_test_profile)
777-uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
778-with:
779-registry: ghcr.io
780-username: ${{ github.actor }}
781-password: ${{ github.token }}
777+run: bash .release-harness/scripts/ci-docker-login-ghcr.sh
778+env:
779+GHCR_USERNAME: ${{ github.actor }}
780+GITHUB_TOKEN: ${{ github.token }}
782781783782 - name: Setup Node environment
784783if: contains(matrix.profiles, inputs.release_test_profile)
@@ -1035,11 +1034,10 @@ jobs:
10351034path: .release-harness
1036103510371036 - name: Log in to GHCR for shared Docker E2E image
1038-uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
1039-with:
1040-registry: ghcr.io
1041-username: ${{ github.actor }}
1042-password: ${{ github.token }}
1037+run: bash .release-harness/scripts/ci-docker-login-ghcr.sh
1038+env:
1039+GHCR_USERNAME: ${{ github.actor }}
1040+GITHUB_TOKEN: ${{ github.token }}
1043104110441042 - name: Setup Node environment
10451043uses: ./.github/actions/setup-node-env
@@ -1211,11 +1209,10 @@ jobs:
12111209path: .release-harness
1212121012131211 - name: Log in to GHCR for shared Docker E2E image
1214-uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
1215-with:
1216-registry: ghcr.io
1217-username: ${{ github.actor }}
1218-password: ${{ github.token }}
1212+run: bash .release-harness/scripts/ci-docker-login-ghcr.sh
1213+env:
1214+GHCR_USERNAME: ${{ github.actor }}
1215+GITHUB_TOKEN: ${{ github.token }}
1219121612201217 - name: Setup Node environment
12211218uses: ./.github/actions/setup-node-env
@@ -1470,11 +1467,10 @@ jobs:
1470146714711468 - name: Log in to GHCR
14721469if: steps.plan.outputs.needs_e2e_image == '1'
1473-uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
1474-with:
1475-registry: ghcr.io
1476-username: ${{ github.actor }}
1477-password: ${{ github.token }}
1470+run: bash .release-harness/scripts/ci-docker-login-ghcr.sh
1471+env:
1472+GHCR_USERNAME: ${{ github.actor }}
1473+GITHUB_TOKEN: ${{ github.token }}
1478147414791475 - name: Check existing shared Docker E2E images
14801476id: image_exists
@@ -1585,11 +1581,10 @@ jobs:
15851581 echo "Shared live-test image: \`${live_image}\`" >> "$GITHUB_STEP_SUMMARY"
1586158215871583 - name: Log in to GHCR
1588-uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
1589-with:
1590-registry: ghcr.io
1591-username: ${{ github.actor }}
1592-password: ${{ github.token }}
1584+run: bash scripts/ci-docker-login-ghcr.sh
1585+env:
1586+GHCR_USERNAME: ${{ github.actor }}
1587+GITHUB_TOKEN: ${{ github.token }}
1593158815941589 - name: Check existing shared live-test image
15951590id: image_exists
@@ -1731,11 +1726,10 @@ jobs:
1731172617321727 - name: Log in to GHCR
17331728if: contains(matrix.profiles, inputs.release_test_profile)
1734-uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
1735-with:
1736-registry: ghcr.io
1737-username: ${{ github.actor }}
1738-password: ${{ github.token }}
1729+run: bash .release-harness/scripts/ci-docker-login-ghcr.sh
1730+env:
1731+GHCR_USERNAME: ${{ github.actor }}
1732+GITHUB_TOKEN: ${{ github.token }}
1739173317401734 - name: Validate provider credential
17411735if: contains(matrix.profiles, inputs.release_test_profile)
@@ -1906,11 +1900,10 @@ jobs:
19061900run: bash scripts/ci-hydrate-live-auth.sh
1907190119081902 - name: Log in to GHCR
1909-uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
1910-with:
1911-registry: ghcr.io
1912-username: ${{ github.actor }}
1913-password: ${{ github.token }}
1903+run: bash .release-harness/scripts/ci-docker-login-ghcr.sh
1904+env:
1905+GHCR_USERNAME: ${{ github.actor }}
1906+GITHUB_TOKEN: ${{ github.token }}
1914190719151908 - name: Validate provider credentials
19161909shell: bash
@@ -2435,11 +2428,10 @@ jobs:
2435242824362429 - name: Log in to GHCR
24372430if: contains(matrix.profiles, inputs.release_test_profile) && (inputs.live_suite_filter == '' || inputs.live_suite_filter == matrix.suite_id || (inputs.live_suite_filter == 'live-gateway-advisory-docker' && startsWith(matrix.suite_id, 'live-gateway-advisory-docker-')))
2438-uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
2439-with:
2440-registry: ghcr.io
2441-username: ${{ github.actor }}
2442-password: ${{ github.token }}
2431+run: bash .release-harness/scripts/ci-docker-login-ghcr.sh
2432+env:
2433+GHCR_USERNAME: ${{ github.actor }}
2434+GITHUB_TOKEN: ${{ github.token }}
2443243524442436 - name: Configure suite-specific env
24452437if: contains(matrix.profiles, inputs.release_test_profile) && (inputs.live_suite_filter == '' || inputs.live_suite_filter == matrix.suite_id || (inputs.live_suite_filter == 'live-gateway-advisory-docker' && startsWith(matrix.suite_id, 'live-gateway-advisory-docker-')))
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。