Skip to content

Update third-party GitHub Actions to latest major versions#1210

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/update-third-party-actions
Draft

Update third-party GitHub Actions to latest major versions#1210
Copilot wants to merge 2 commits intomasterfrom
copilot/update-third-party-actions

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 21, 2026

docker/build-push-action@v1 is significantly out of date (current: v7). v2+ dropped inline auth inputs entirely, requiring companion actions for login and buildx setup.

Changes

  • build-docker.yml: Replaces the two separate docker/build-push-action@v1 steps (which embedded credentials directly) with the modern pattern:
    • docker/setup-buildx-action@v4 — now required by v2+
    • docker/login-action@v4 — Docker Hub auth
    • docker/login-action@v4 — GitHub Packages auth
    • docker/build-push-action@v7 — single build+push to both registries using push: true + tags

Before:

- uses: docker/build-push-action@v1
  with:
    username: ${{ secrets.DOCKER_USERNAME }}
    password: ${{ secrets.DOCKER_PASSWORD }}
    repository: mltframework/melt
    tag_with_ref: true

After:

- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
  with:
    username: ${{ secrets.DOCKER_USERNAME }}
    password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v7
  with:
    push: true
    tags: mltframework/melt:${{ github.ref_name }}

All other third-party actions (msys2/setup-msys2@v2, lukka/run-vcpkg@v11, ilammy/msvc-dev-cmd@v1) are already at their latest major versions.


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI changed the title [WIP] Update third party actions to latest major version Update third-party GitHub Actions to latest major versions Mar 21, 2026
Copilot AI requested a review from ddennedy March 21, 2026 22:19
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.

2 participants