Skip to content

Commit d85bed5

Browse files
authored
Merge branch 'main' into sascha-disallow-trailing-colon
2 parents ecba7ac + 4eb8c4d commit d85bed5

File tree

231 files changed

+24207
-18918
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+24207
-18918
lines changed

.github/workflows/analyze.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
pull_request:
88
branches: ['main']
99

10+
permissions:
11+
security-events: write
12+
actions: read
13+
contents: read
14+
1015
jobs:
1116
analyze:
1217
name: Analyze

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
jobs:
88
goreleaser:
9+
permissions:
10+
contents: write
911
runs-on: ubuntu-latest
1012
outputs:
1113
hashes: ${{ steps.hash.outputs.hashes }}
@@ -40,7 +42,7 @@ jobs:
4042
actions: read # To read the workflow path.
4143
id-token: write # To sign the provenance.
4244
contents: write # To add assets to a release.
43-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.5.0
45+
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
4446
with:
4547
base64-subjects: "${{ needs.goreleaser.outputs.hashes }}"
4648
upload-assets: true # upload to a new release
@@ -51,7 +53,7 @@ jobs:
5153
permissions: read-all
5254
steps:
5355
- name: Install SLSA verifier
54-
uses: slsa-framework/slsa-verifier/actions/installer@v2.2.0
56+
uses: slsa-framework/slsa-verifier/actions/installer@v2.7.0
5557
- name: Download assets
5658
env:
5759
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/style.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@ jobs:
2525
- uses: actions/setup-go@v5
2626
with:
2727
go-version-file: go.mod
28-
29-
- uses: golangci/[email protected]
28+
- uses: golangci/[email protected]
3029
with:
31-
version: v1.61.0
32-
30+
version: v2.1.6
3331
- uses: reviewdog/action-misspell@v1
3432
if: ${{ always() }}
3533
with:

.golangci.yaml

Lines changed: 50 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,54 @@
1-
run:
2-
timeout: 5m
3-
4-
issues:
5-
exclude-dirs:
6-
- internal
7-
- pkg/registry
8-
exclude-rules:
9-
- path: test # Excludes /test, *_test.go etc.
10-
linters:
11-
- gosec
12-
1+
version: "2"
132
linters:
143
enable:
15-
- asciicheck
16-
- depguard
17-
- errorlint
18-
- gofmt
19-
- gosec
20-
- goimports
21-
- importas
22-
- prealloc
23-
- revive
24-
- misspell
25-
- stylecheck
26-
- tparallel
27-
- unconvert
28-
- unparam
29-
- unused
30-
- whitespace
31-
4+
- asciicheck
5+
- depguard
6+
- errorlint
7+
- gosec
8+
- importas
9+
- misspell
10+
- prealloc
11+
- revive
12+
- staticcheck
13+
- tparallel
14+
- unconvert
15+
- unparam
16+
- whitespace
3217
disable:
33-
- errcheck
34-
35-
linters-settings:
36-
depguard:
18+
- errcheck
19+
settings:
20+
depguard:
21+
rules:
22+
main:
23+
deny:
24+
- pkg: crypto/sha256
25+
desc: use crypto.SHA256 instead
26+
exclusions:
27+
generated: lax
28+
presets:
29+
- comments
30+
- common-false-positives
31+
- legacy
32+
- std-error-handling
3733
rules:
38-
main:
39-
deny:
40-
- pkg: "crypto/sha256"
41-
desc: use crypto.SHA256 instead
34+
- linters:
35+
- gosec
36+
path: test # Excludes /test, *_test.go etc.
37+
paths:
38+
- internal
39+
- pkg/registry
40+
- third_party$
41+
- builtin$
42+
- examples$
43+
formatters:
44+
enable:
45+
- gofmt
46+
- goimports
47+
exclusions:
48+
generated: lax
49+
paths:
50+
- internal
51+
- pkg/registry
52+
- third_party$
53+
- builtin$
54+
- examples$

cmd/krane/go.mod

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,61 @@
11
module github.com/google/go-containerregistry/cmd/krane
22

3-
go 1.23.0
3+
go 1.24.0
44

55
replace github.com/google/go-containerregistry => ../../
66

77
require (
8-
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20250115170608-608f37feb051
8+
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.9.1
99
github.com/chrismellard/docker-credential-acr-env v0.0.0-20230304212654-82a0ddb27589
10-
github.com/google/go-containerregistry v0.20.2
10+
github.com/google/go-containerregistry v0.20.3
1111
)
1212

1313
require (
1414
cloud.google.com/go/compute/metadata v0.6.0 // indirect
1515
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
1616
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
17-
github.com/Azure/go-autorest/autorest v0.11.29 // indirect
17+
github.com/Azure/go-autorest/autorest v0.11.30 // indirect
1818
github.com/Azure/go-autorest/autorest/adal v0.9.24 // indirect
1919
github.com/Azure/go-autorest/autorest/azure/auth v0.5.13 // indirect
20-
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
21-
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
22-
github.com/Azure/go-autorest/logger v0.2.1 // indirect
23-
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
24-
github.com/aws/aws-sdk-go-v2 v1.32.8 // indirect
25-
github.com/aws/aws-sdk-go-v2/config v1.28.11 // indirect
26-
github.com/aws/aws-sdk-go-v2/credentials v1.17.52 // indirect
27-
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.23 // indirect
28-
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.27 // indirect
29-
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.27 // indirect
30-
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
31-
github.com/aws/aws-sdk-go-v2/service/ecr v1.38.4 // indirect
32-
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.29.2 // indirect
33-
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1 // indirect
34-
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.8 // indirect
35-
github.com/aws/aws-sdk-go-v2/service/sso v1.24.9 // indirect
36-
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.8 // indirect
37-
github.com/aws/aws-sdk-go-v2/service/sts v1.33.7 // indirect
38-
github.com/aws/smithy-go v1.22.1 // indirect
20+
github.com/Azure/go-autorest/autorest/azure/cli v0.4.7 // indirect
21+
github.com/Azure/go-autorest/autorest/date v0.3.1 // indirect
22+
github.com/Azure/go-autorest/logger v0.2.2 // indirect
23+
github.com/Azure/go-autorest/tracing v0.6.1 // indirect
24+
github.com/aws/aws-sdk-go-v2 v1.36.3 // indirect
25+
github.com/aws/aws-sdk-go-v2/config v1.29.14 // indirect
26+
github.com/aws/aws-sdk-go-v2/credentials v1.17.67 // indirect
27+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect
28+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 // indirect
29+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 // indirect
30+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
31+
github.com/aws/aws-sdk-go-v2/service/ecr v1.44.0 // indirect
32+
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.33.0 // indirect
33+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 // indirect
34+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 // indirect
35+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 // indirect
36+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 // indirect
37+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19 // indirect
38+
github.com/aws/smithy-go v1.22.3 // indirect
3939
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
4040
github.com/dimchansky/utfbom v1.1.1 // indirect
41-
github.com/docker/cli v27.5.0+incompatible // indirect
41+
github.com/docker/cli v28.1.1+incompatible // indirect
4242
github.com/docker/distribution v2.8.3+incompatible // indirect
43-
github.com/docker/docker-credential-helpers v0.8.2 // indirect
44-
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
45-
github.com/google/go-cmp v0.6.0 // indirect
43+
github.com/docker/docker-credential-helpers v0.9.3 // indirect
44+
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
45+
github.com/google/go-cmp v0.7.0 // indirect
4646
github.com/inconshreveable/mousetrap v1.1.0 // indirect
47-
github.com/jmespath/go-jmespath v0.4.0 // indirect
48-
github.com/klauspost/compress v1.17.11 // indirect
47+
github.com/klauspost/compress v1.18.0 // indirect
4948
github.com/mitchellh/go-homedir v1.1.0 // indirect
5049
github.com/opencontainers/go-digest v1.0.0 // indirect
51-
github.com/opencontainers/image-spec v1.1.0 // indirect
50+
github.com/opencontainers/image-spec v1.1.1 // indirect
5251
github.com/pkg/errors v0.9.1 // indirect
5352
github.com/sirupsen/logrus v1.9.3 // indirect
54-
github.com/spf13/cobra v1.8.1 // indirect
55-
github.com/spf13/pflag v1.0.5 // indirect
56-
github.com/vbatts/tar-split v0.11.6 // indirect
57-
golang.org/x/crypto v0.32.0 // indirect
58-
golang.org/x/oauth2 v0.25.0 // indirect
59-
golang.org/x/sync v0.10.0 // indirect
60-
golang.org/x/sys v0.29.0 // indirect
53+
github.com/spf13/cobra v1.9.1 // indirect
54+
github.com/spf13/pflag v1.0.6 // indirect
55+
github.com/vbatts/tar-split v0.12.1 // indirect
56+
golang.org/x/crypto v0.38.0 // indirect
57+
golang.org/x/oauth2 v0.30.0 // indirect
58+
golang.org/x/sync v0.14.0 // indirect
59+
golang.org/x/sys v0.33.0 // indirect
6160
gotest.tools/v3 v3.1.0 // indirect
6261
)

0 commit comments

Comments
 (0)