Skip to content

Bump docker/login-action from 3 to 4#225

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/github_actions/develop/docker/login-action-4
Open

Bump docker/login-action from 3 to 4#225
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/github_actions/develop/docker/login-action-4

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 8, 2026

Bumps docker/login-action from 3 to 4.

Release notes

Sourced from docker/login-action's releases.

v4.0.0

Full Changelog: docker/login-action@v3.7.0...v4.0.0

v3.7.0

Full Changelog: docker/login-action@v3.6.0...v3.7.0

v3.6.0

Full Changelog: docker/login-action@v3.5.0...v3.6.0

v3.5.0

Full Changelog: docker/login-action@v3.4.0...v3.5.0

v3.4.0

Full Changelog: docker/login-action@v3.3.0...v3.4.0

... (truncated)

Commits
  • b45d80f Merge pull request #929 from crazy-max/node24
  • 176cb9c node 24 as default runtime
  • cad8984 Merge pull request #920 from docker/dependabot/npm_and_yarn/aws-sdk-dependenc...
  • 92cbcb2 chore: update generated content
  • 5a2d6a7 build(deps): bump the aws-sdk-dependencies group with 2 updates
  • 44512b6 Merge pull request #928 from docker/dependabot/npm_and_yarn/docker/actions-to...
  • 28737a5 chore: update generated content
  • dac0793 build(deps): bump @​docker/actions-toolkit from 0.76.0 to 0.77.0
  • 62029f3 Merge pull request #919 from docker/dependabot/npm_and_yarn/actions/core-3.0.0
  • 08c8f06 chore: update generated content
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file maintenance Any maintenance task on the project labels Mar 8, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 8, 2026 19:32
@dependabot dependabot bot added maintenance Any maintenance task on the project dependencies Pull requests that update a dependency file labels Mar 8, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2026

The modification in the docker.yml file involves updating the version of the docker/login-action from v3 to v4. This change ensures compatibility with the latest features and improvements provided by the pipeline's dependencies.

Walkthrough

  • Chore: Updated docker/login-action from version 3 to 4 in GitHub workflows to leverage improvements and modern fixes in the Docker login process. This change, though not directly visible to the end-user, is crucial for maintaining the pipeline and ensuring it uses the latest stable and optimized actions.

Model: gpt-4o-2024-08-06 | Prompt Tokens: 353 | Completion Tokens: 112

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a collaborative code review enhanced by AI insights. These suggestions are thoughtful recommendations rather than definitive solutions, so please apply what resonates with your project goals. You remain the expert decision-maker—AI simply offers additional perspective to support your development process.


Always critique what AI says. Do not let AI replace YOUR I.
Model: claude-sonnet-4-20250514 | Prompt Tokens: 957 | Completion Tokens: 465

Comment on lines 97 to 103
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good practice updating the Docker login action to v4 for security and feature improvements. Consider also updating the docker/setup-buildx-action to the latest version for consistency:

uses: docker/setup-buildx-action@v4

This ensures all Docker-related actions are using their latest stable versions, which typically include security patches and performance improvements.

Comment on lines 152 to 156
- name: Log in to Docker Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding error handling and validation for the Docker registry secrets. You could add a step to verify the secrets are present before attempting login:

- name: Validate Docker Registry Secrets
  run: |
    if [ -z "${{ secrets.DOCKER_REGISTRY_URL }}" ] || [ -z "${{ secrets.DOCKER_REGISTRY_USERNAME }}" ]; then
      echo "Error: Docker registry secrets are not configured"
      exit 1
    fi

- name: Log in to Docker Registry
  uses: docker/login-action@v4
  with:
    registry: ${{ secrets.DOCKER_REGISTRY_URL }}
    username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
    password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}

This provides better error messages and prevents silent failures when secrets are misconfigured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file maintenance Any maintenance task on the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants