Update docker/build-push-action action to v7#1644
Conversation
|
@CodeRabbit review pls |
|
✅ Actions performedReview triggered.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.Add a .trivyignore file to your project to customize which findings Trivy reports. |
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions workflow to use docker/build-push-action@v7 for building Docker images, keeping the CI build pipeline current with the action’s latest major release.
Changes:
- Bump
docker/build-push-actionfromv6tov7in the build workflow for all Docker build steps.
Comments suppressed due to low confidence (3)
.github/workflows/build.yml:193
- This step sets
load: truewhile also specifyingoutputs: type=docker,dest=....loadis redundant when you explicitly setoutputs, and depending on docker/build-push-action v7 behavior this can lead to confusing/unsupported output configuration. Prefer removingloadhere and rely on theoutputssetting (or removeoutputsif you actually intend to load into the runner’s Docker engine).
uses: docker/build-push-action@v7
with:
context: .
load: true
platforms: ${{ matrix.platform }}
tags: ${{ steps.activitypub-docker-metadata-private.outputs.tags }}
labels: ${{ steps.activitypub-docker-metadata-private.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=docker,dest=/tmp/activitypub-${{ matrix.platform_slug }}.tar
.github/workflows/build.yml:205
- This step sets
load: truewhile also specifyingoutputs: type=docker,dest=.... With docker/build-push-action v7, mixing shorthand outputs (load) with explicitoutputscan be redundant or unsupported. Consider droppingloadand keeping the explicitoutputsexport (or vice versa) to make the output behavior unambiguous.
uses: docker/build-push-action@v7
with:
context: migrate
load: true
platforms: ${{ matrix.platform }}
tags: ${{ steps.activitypub-migrations-docker-metadata-private.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=docker,dest=/tmp/activitypub-migrations-${{ matrix.platform_slug }}.tar
.github/workflows/build.yml:276
- This build uses both
load: trueandpush: true. These flags are contradictory shorthands for different Buildx outputs, and can be rejected by Buildx / build-push-action (especially across major versions). If the intent is to publish the image, dropload; if you need both, use an explicit multi-outputoutputs:configuration instead ofload/pushshorthands.
uses: docker/build-push-action@v7
with:
context: jobs/reconcile-account-topics
load: true
tags: ${{ steps.reconcile-account-topics-meta.outputs.tags }}
push: true
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This PR contains the following updates:
v6→v7Release Notes
docker/build-push-action (docker/build-push-action)
v7Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - Between 07:00 AM and 04:59 PM, only on Monday, Tuesday, Wednesday, and Thursday ( * 7-16 * * 1,2,3,4 ) (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.