Skip to content

Commit 020bfec

Browse files
authored
retry auth URL lookup without docker credentialhelper workaround (#14)
1 parent 2c4e299 commit 020bfec

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ go 1.18
55
require (
66
github.com/Microsoft/hcsshim v0.9.2 // indirect
77
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
8-
github.com/anchore/stereoscope v0.0.0-20220330165332-7fc73ee7b0f0
9-
github.com/anchore/syft v0.43.0
8+
github.com/anchore/stereoscope v0.0.0-20220406160859-c03a18a6b270
9+
github.com/anchore/syft v0.43.2
1010
github.com/containerd/containerd v1.5.10 // indirect
1111
github.com/containerd/continuity v0.2.2 // indirect
1212
github.com/docker/cli v20.10.12+incompatible

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ github.com/anchore/go-version v1.2.2-0.20200701162849-18adb9c92b9b h1:e1bmaoJfZV
145145
github.com/anchore/go-version v1.2.2-0.20200701162849-18adb9c92b9b/go.mod h1:Bkc+JYWjMCF8OyZ340IMSIi2Ebf3uwByOk6ho4wne1E=
146146
github.com/anchore/packageurl-go v0.1.1-0.20220314153042-1bcd40e5206b h1:YJWYt/6KQXR9JR46lLHrTTYi8rcye42tKcyjREA/hvA=
147147
github.com/anchore/packageurl-go v0.1.1-0.20220314153042-1bcd40e5206b/go.mod h1:Blo6OgJNiYF41ufcgHKkbCKF2MDOMlrqhXv/ij6ocR4=
148-
github.com/anchore/stereoscope v0.0.0-20220330165332-7fc73ee7b0f0 h1:mObz7bepZ6DtbIrsB2mxuOE9XEYmVtA/P/EDlKwfbjs=
149-
github.com/anchore/stereoscope v0.0.0-20220330165332-7fc73ee7b0f0/go.mod h1:yoCLUZY0k/pYLNIy0L80p2Ko0PKVNXm8rHtgxp4OiSc=
150-
github.com/anchore/syft v0.43.0 h1:9w52VCgSutRL08ojztoXwG6/KdOjS3w+5ePZqJNGx5o=
151-
github.com/anchore/syft v0.43.0/go.mod h1:Po6PO927XnrHzrs8qshOjAfb/wBmu4cXEeO7FmlWFgk=
148+
github.com/anchore/stereoscope v0.0.0-20220406160859-c03a18a6b270 h1:NmxPDR6vo3xjwCL6o+tpF1vUad/BVo+WaVSwueB9W9w=
149+
github.com/anchore/stereoscope v0.0.0-20220406160859-c03a18a6b270/go.mod h1:yoCLUZY0k/pYLNIy0L80p2Ko0PKVNXm8rHtgxp4OiSc=
150+
github.com/anchore/syft v0.43.2 h1:VkC/gZVpVcE1B/E80XP73z9u2f7865l6WBdpKZakHhs=
151+
github.com/anchore/syft v0.43.2/go.mod h1:m6/cWOz0aFbCL0pflHvvBgvw0qMPLVqDQa0L8+FBPVE=
152152
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
153153
github.com/andybalholm/brotli v1.0.1/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
154154
github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=

test/cli/sbom_cmd_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func TestSBOMCmdFlags(t *testing.T) {
3636
assertInOutput("docker-sbom ("),
3737
assertInOutput("Provider:"),
3838
assertInOutput("GitDescription:"),
39-
assertInOutput("syft (v0.43.0)"),
39+
assertInOutput("syft (v0.43.2)"),
4040
assertNotInOutput("not provided"),
4141
assertSuccessfulReturnCode,
4242
},
@@ -56,7 +56,7 @@ func TestSBOMCmdFlags(t *testing.T) {
5656
args: []string{"sbom", "--format", "json", coverageImage},
5757
assertions: []traitAssertion{
5858
assertJsonReport,
59-
assertJsonDescriptor(internal.SyftName, "v0.43.0"),
59+
assertJsonDescriptor(internal.SyftName, "v0.43.2"),
6060
assertNotInOutput("not provided"),
6161
assertSuccessfulReturnCode,
6262
},

0 commit comments

Comments
 (0)