mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
ci: Replace docker/login-action with retry-wrapped docker login for DockerHub (#28442)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bd9713bd67
commit
d496f6f1bd
1 changed files with 7 additions and 4 deletions
11
.github/actions/docker-registry-login/action.yml
vendored
11
.github/actions/docker-registry-login/action.yml
vendored
|
|
@ -39,10 +39,13 @@ runs:
|
|||
|
||||
- name: Login to DockerHub
|
||||
if: inputs.login-dockerhub == 'true'
|
||||
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
|
||||
with:
|
||||
username: ${{ inputs.dockerhub-username }}
|
||||
password: ${{ inputs.dockerhub-password }}
|
||||
shell: bash
|
||||
env:
|
||||
DOCKER_USER: ${{ inputs.dockerhub-username }}
|
||||
DOCKER_PASS: ${{ inputs.dockerhub-password }}
|
||||
run: |
|
||||
node .github/scripts/retry.mjs --attempts 3 --delay 10 \
|
||||
'echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin'
|
||||
|
||||
- name: Login to DHI Registry
|
||||
if: inputs.login-dhi == 'true'
|
||||
|
|
|
|||
Loading…
Reference in a new issue