Skip to content

Commit ee32c2d

Browse files
authored
Merge pull request #148 from EmmEff/update-circleci
CircleCI updates
2 parents f385ba9 + a7aed10 commit ee32c2d

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ orbs:
66
executors:
77
node:
88
docker:
9-
- image: node:17-slim
9+
- image: node:18-slim
1010
golangci-lint:
1111
docker:
12-
- image: golangci/golangci-lint:v1.47
12+
- image: golangci/golangci-lint:v1.48
1313
golang-previous:
1414
docker:
15-
- image: golang:1.17
15+
- image: golang:1.18
1616
golang-latest:
1717
docker:
18-
- image: golang:1.18
18+
- image: golang:1.19
1919

2020
jobs:
2121
lint-markdown:

client/models.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,9 @@ type ArchImageTag struct {
236236

237237
// ArchTagMap is a mapping of a string architecture to a TagMap, and hence to
238238
// Images.
239-
// e.g. {
240-
// "amd64": { "latest": 507f1f77bcf86cd799439011 },
241-
// "ppc64le": { "latest": 507f1f77bcf86cd799439012 },
242-
// }
239+
//
240+
// e.g. {
241+
// "amd64": { "latest": 507f1f77bcf86cd799439011 },
242+
// "ppc64le": { "latest": 507f1f77bcf86cd799439012 },
243+
// }
243244
type ArchTagMap map[string]TagMap

client/ref.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ var (
4040
//
4141
// Examples of valid URIs:
4242
//
43-
// library:path:tags
44-
// library:/path:tags
45-
// library:///path:tags
46-
// library://host/path:tags
47-
// library://host:port/path:tags
43+
// library:path:tags
44+
// library:/path:tags
45+
// library:///path:tags
46+
// library://host/path:tags
47+
// library://host:port/path:tags
4848
//
4949
// The tags component is a comma-separated list of one or more tags.
5050
type Ref struct {

client/search.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ import (
2626
//
2727
// Match all collections with name "thename":
2828
//
29-
// c.Search(ctx, map[string]string{"value": "thename"})
29+
// c.Search(ctx, map[string]string{"value": "thename"})
3030
//
3131
// Match all images with name "imagename" and arch "amd64"
3232
//
33-
// c.Search(ctx, map[string]string{
34-
// "value": "imagename",
35-
// "arch": "amd64"
36-
// })
33+
// c.Search(ctx, map[string]string{
34+
// "value": "imagename",
35+
// "arch": "amd64"
36+
// })
3737
//
3838
// Note: if 'arch' and/or 'signed' are specified, the search is limited in
3939
// scope only to the "Image" collection.

client/util.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ func PrettyPrint(v interface{}) {
133133
}
134134

135135
// ImageHash returns the appropriate hash for a provided image file
136-
// e.g. sif.<uuid> or sha256.<sha256>
136+
//
137+
// e.g. sif.<uuid> or sha256.<sha256>
137138
func ImageHash(filePath string) (result string, err error) {
138139
// Currently using sha256 always
139140
// TODO - use sif uuid for sif files!

0 commit comments

Comments
 (0)