Skip to content

Post action failure for docker login action #168

@komalchavan-tw

Description

@komalchavan-tw

Hey Team,

We are using this action to retry docker login on failures like below :

      name: Login to Image Repo
      uses: Wandalen/wretry.action@v3.5.0
      with:
        action: docker/login-action@v3
        with: |
          username: ${{ inputs.username }}
          password: ${{ inputs.password }}
          registry: ${{ inputs.registry_url }}
        attempt_limit: 3
        attempt_delay: 10000

But it always logs error for post clean up action.

32s
Post job cleanup.
Post job cleanup.
Post job cleanup.
Error: Username and password required
Error: Username and password required
Error: Username and password required
Error: Process returned exit code [1]()
Launched as "/home/runner/runners/[2]().319.1/externals/node20/bin/node /home/runner/work/_actions/Wandalen/wretry.action/v[3]().5.0_js_action/src/Runner.mjs /home/runner/work/_actions/Wandalen/login-action/dist/index.js"

Not sure what can be changed here to avoid these errors. Please help!.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions