Bump docker/setup-buildx-action from 3.12.0 to 4.1.0#113
Open
dependabot[bot] wants to merge 1 commit into
Open
Bump docker/setup-buildx-action from 3.12.0 to 4.1.0#113dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.12.0 to 4.1.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](docker/setup-buildx-action@v3.12.0...v4.1.0) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3.12.0 | ||
| uses: docker/setup-buildx-action@v4.1.0 |
There was a problem hiding this comment.
P1: Third-party action is pinned to a mutable tag in publish workflow
docker/setup-buildx-action@v4.1.0 is tag-pinned, not SHA-pinned.
Replace the tag with the release commit SHA plus a version comment.
AI prompt
Check if this security scanner issue is valid. If so, understand the root cause and fix it. If appropriate, update or add tests. Keep the change focused and preserve intended behavior.
<file name=".github/workflows/publish.yaml">
<violation number="1" location=".github/workflows/publish.yaml:72">
<priority>P1</priority>
<title>Third-party action is pinned to a mutable tag in publish workflow</title>
<evidence>The modified Buildx setup step uses `docker/setup-buildx-action@v4.1.0`. GitHub Action tags are mutable; if the action repository or tag is compromised or force-moved, this publish workflow would execute different code without any change in this repository.</evidence>
<recommendation>Pin the action to the full 40-character commit SHA for the intended `v4.1.0` release and keep the version as a comment, for example: `uses: docker/setup-buildx-action@<40-char-sha> # v4.1.0`. Apply the same pinning policy to all actions in the release/publish path.</recommendation>
</violation>
</file>
| steps: | ||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3.12.0 | ||
| uses: docker/setup-buildx-action@v4.1.0 |
There was a problem hiding this comment.
P1: Second Buildx setup step is also pinned to a mutable tag
Second docker/setup-buildx-action@v4.1.0 is tag-pinned.
Use a full commit SHA instead of the version tag.
AI prompt
Check if this security scanner issue is valid. If so, understand the root cause and fix it. If appropriate, update or add tests. Keep the change focused and preserve intended behavior.
<file name=".github/workflows/publish.yaml">
<violation number="1" location=".github/workflows/publish.yaml:165">
<priority>P1</priority>
<title>Second Buildx setup step is also pinned to a mutable tag</title>
<evidence>A second modified Buildx setup step also uses `docker/setup-buildx-action@v4.1.0`. In a publish workflow, mutable action tags are a supply-chain risk because the workflow may build or publish release artifacts using code fetched from a tag that can change outside this repository's review process.</evidence>
<recommendation>Pin this `docker/setup-buildx-action` invocation to the full 40-character commit SHA for the intended `v4.1.0` release and retain `# v4.1.0` as a comment for reviewability.</recommendation>
</violation>
</file>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps docker/setup-buildx-action from 3.12.0 to 4.1.0.
Release notes
Sourced from docker/setup-buildx-action's releases.
Commits
d7f5e7fMerge pull request #489 from docker/dependabot/npm_and_yarn/docker/actions-to...92bc5c9chore: update generated contentda11e35build(deps): bump@docker/actions-toolkitfrom 0.79.0 to 0.90.0f021e16Merge pull request #492 from docker/dependabot/npm_and_yarn/undici-6.24.1b5af94fchore: update generated content16ad977build(deps): bump undici from 6.23.0 to 6.25.0d7a12d7Merge pull request #495 from docker/dependabot/npm_and_yarn/glob-10.5.028ff27dbuild(deps): bump glob from 10.3.12 to 13.0.6daf436bMerge pull request #496 from docker/dependabot/npm_and_yarn/fast-xml-parser-5...9725348chore: update generated contentDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)