Skip to content

Upgrade GitHub Actions to latest versions#1022

Open
salmanmkc wants to merge 1 commit intoItzCrazyKns:masterfrom
salmanmkc:upgrade-github-actions-node24-general
Open

Upgrade GitHub Actions to latest versions#1022
salmanmkc wants to merge 1 commit intoItzCrazyKns:masterfrom
salmanmkc:upgrade-github-actions-node24-general

Conversation

@salmanmkc
Copy link

@salmanmkc salmanmkc commented Mar 5, 2026

Summary

Upgrade GitHub Actions to their latest versions for improved features, bug fixes, and security updates.

Changes

Action Old Version(s) New Version Release Files
docker/login-action v2 v4 Release docker-build.yaml
docker/setup-buildx-action v2 v4 Release docker-build.yaml

Why upgrade?

Keeping GitHub Actions up to date ensures:

  • Security: Latest security patches and fixes
  • Features: Access to new functionality and improvements
  • Compatibility: Better support for current GitHub features
  • Performance: Optimizations and efficiency improvements

⚠️ Breaking Changes

  • docker/setup-buildx-action (v2 → v4): Major version upgrade — review the release notes for breaking changes
    • ⚠️ Input install was removed — if your workflow uses it, the step may fail
    • ⚠️ Input config was removed — if your workflow uses it, the step may fail
    • ⚠️ Input config-inline was removed — if your workflow uses it, the step may fail
    • 🗑️ Input install was removed in the new version and has been cleaned up from the workflow
  • docker/login-action (v2 → v4): Major version upgrade — review the release notes for breaking changes

Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.


Summary by cubic

Upgrade docker/setup-buildx-action and docker/login-action to v4 in the docker-build workflow. Brings in the latest fixes and compatibility updates.

  • Dependencies

    • docker/setup-buildx-action: v2 → v4 (.github/workflows/docker-build.yaml)
    • docker/login-action: v2 → v4 (.github/workflows/docker-build.yaml)
  • Migration

    • docker/setup-buildx-action v4 removes inputs: install, config, config-inline. Remove with: install: true from affected steps.
    • Run the docker-build workflow on a branch to verify Buildx initializes and DockerHub login works.

Written for commit ebfeaa8. Summary will update on new commits.

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant