Skip to content

🧹 Remove version pin from docker dep#5566

Merged
czunker merged 5 commits intomainfrom
czunker/rm_docker_pin
May 21, 2025
Merged

🧹 Remove version pin from docker dep#5566
czunker merged 5 commits intomainfrom
czunker/rm_docker_pin

Conversation

@czunker
Copy link
Copy Markdown
Contributor

@czunker czunker commented May 21, 2025

The new release of https://github.com/google/go-containerregistry/releases/tag/v0.20.4 allows us to remove the pin

Details for the docker type changes: moby/moby#47936

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2025

Test Results

4 270 tests  ±0   4 266 ✅ ±0   2m 4s ⏱️ ±0s
  403 suites ±0       4 💤 ±0 
   30 files   ±0       0 ❌ ±0 

Results for commit 810b15a. ± Comparison against base commit ab63f8a.

♻️ This comment has been updated with latest results.

@czunker czunker force-pushed the czunker/rm_docker_pin branch from 788563c to 9c60043 Compare May 21, 2025 08:45
czunker added 4 commits May 21, 2025 10:57
The new release of https://github.com/google/go-containerregistry/releases/tag/v0.20.4 allows us to remove the pin

Signed-off-by: Christian Zunker <christian@mondoo.com>
moby/moby#47936
Signed-off-by: Christian Zunker <christian@mondoo.com>
=== Errors
Error: providers-sdk/v1/lr/docs/docs.go:56:21: non-constant format string in call to fmt.Sprintf

Error: cli/components/list.go:51:48: non-constant format string in call to fmt.Fprintf

Error: apps/cnquery/cmd/bundle.go:103:28: non-constant format string in call to fmt.Fprintf

Error: apps/cnquery/cmd/bundle.go:141:28: non-constant format string in call to fmt.Fprintf

Error: providers-sdk/v1/inventory/asset.go:44:22: non-constant format string in call to fmt.Sprintf
Signed-off-by: Christian Zunker <christian@mondoo.com>
Signed-off-by: Christian Zunker <christian@mondoo.com>
@czunker czunker force-pushed the czunker/rm_docker_pin branch from 9c60043 to dedf98e Compare May 21, 2025 08:58
Comment thread providers/os/resources/auditpol.go Outdated
out := cmd.GetStdout()
if out.Error != nil {
return nil, fmt.Errorf("could not run auditpol: " + out.Error.Error())
return nil, fmt.Errorf("could not run auditpol: %s", out.Error.Error())
Copy link
Copy Markdown
Contributor

@glower glower May 21, 2025

Choose a reason for hiding this comment

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

nit: fmt.Errorf("could not run auditpol: %w", out.Error)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Nice, thanks. I changed it.

Comment thread providers/os/resources/secpol.go Outdated
out := cmd.GetStdout()
if out.Error != nil {
return nil, fmt.Errorf("could not run auditpol: " + out.Error.Error())
return nil, fmt.Errorf("could not run auditpol: %s", out.Error.Error())
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same nit here :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Nice, thanks. I changed it.

Signed-off-by: Christian Zunker <christian@mondoo.com>
@czunker czunker merged commit 6a336a9 into main May 21, 2025
17 checks passed
@czunker czunker deleted the czunker/rm_docker_pin branch May 21, 2025 12:23
@github-actions github-actions Bot locked and limited conversation to collaborators May 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants