Skip to content

Commit

Permalink
Upgrade backend dependencies (#3562)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
  • Loading branch information
tegioz authored Dec 21, 2023
1 parent d8d255d commit dadc793
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 86 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
24 changes: 12 additions & 12 deletions docs/container_images_repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ oras push \

or you can use [regclient](https://github.com/regclient/regclient) to do the same:
```bash
regctl artifact put \
--format '{{ .Manifest.GetDescriptor.Digest }}' \
--artifact-type application/vnd.cncf.artifacthub.config.v1+yaml \
-f artifacthub-repo.yml \
--file-media-type "application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml" \
registry/namespace/repository:artifacthub.io
regctl artifact put \
--format '{{ .Manifest.GetDescriptor.Digest }}' \
--artifact-type application/vnd.cncf.artifacthub.config.v1+yaml \
-f artifacthub-repo.yml \
--file-media-type "application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml" \
registry/namespace/repository:artifacthub.io
```

The repository metadata file is pushed to the registry using a special tag named `artifacthub.io`. Artifact Hub will pull that artifact looking for the `application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml` layer when the repository metadata is needed.
Expand All @@ -95,12 +95,12 @@ oras push \
or you can use [regclient](https://github.com/regclient/regclient) to do the same:

```bash
regctl artifact put \
--format '{{ .Manifest.GetDescriptor.Digest }}' \
--artifact-type application/vnd.cncf.artifacthub.config.v1+yaml \
-f artifacthub-repo.yml \
--file-media-type "application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml" \
docker.io/repository:artifacthub.io
regctl artifact put \
--format '{{ .Manifest.GetDescriptor.Digest }}' \
--artifact-type application/vnd.cncf.artifacthub.config.v1+yaml \
-f artifacthub-repo.yml \
--file-media-type "application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml" \
docker.io/repository:artifacthub.io
```

*Please note that publishing an Artifact Hub repository metadata file requires that the registry supports [OCI artifacts](https://oras.land/implementors/).*
49 changes: 26 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ go 1.21

require (
github.com/Masterminds/semver/v3 v3.2.1
github.com/aquasecurity/trivy v0.48.0
github.com/aquasecurity/trivy v0.48.1
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/disintegration/imaging v1.6.2
github.com/domodwyer/mailyak v3.1.1+incompatible
github.com/galeone/tensorflow/tensorflow/go v0.0.0-20221023090153-6b7fa0680c3e
github.com/galeone/tfgo v0.0.0-20230715013254-16113111dc99
github.com/go-chi/chi/v5 v5.0.10
github.com/go-chi/chi/v5 v5.0.11
github.com/go-enry/go-license-detector/v4 v4.3.1
github.com/go-git/go-git/v5 v5.11.0
github.com/google/go-containerregistry v0.17.0
Expand All @@ -36,21 +36,21 @@ require (
github.com/satori/uuid v1.2.0
github.com/sigstore/cosign v1.13.2
github.com/spf13/cobra v1.8.0
github.com/spf13/viper v1.18.1
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.8.4
github.com/tektoncd/pipeline v0.53.2
github.com/unrolled/secure v1.13.0
github.com/versine/loginauth v0.0.0-20170330164406-8380ec243689
github.com/vincent-petithory/dataurl v1.0.0
github.com/wagslane/go-password-validator v0.3.0
github.com/writeas/go-strip-markdown v2.0.1+incompatible
golang.org/x/crypto v0.16.0
golang.org/x/crypto v0.17.0
golang.org/x/oauth2 v0.15.0
golang.org/x/text v0.14.0
google.golang.org/api v0.153.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
helm.sh/helm/v3 v3.13.2
helm.sh/helm/v3 v3.13.3
k8s.io/apimachinery v0.28.4
oras.land/oras-go v1.2.4
sigs.k8s.io/krew v0.4.4
Expand Down Expand Up @@ -96,21 +96,22 @@ require (
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
github.com/aquasecurity/trivy-db v0.0.0-20231005141211-4fc651f7ac8d // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/aws/aws-sdk-go-v2 v1.22.1 // indirect
github.com/aws/aws-sdk-go-v2/config v1.19.1 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.13.43 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45 // indirect
github.com/aws/aws-sdk-go-v2/service/ecr v1.21.0 // indirect
github.com/aws/aws-sdk-go-v2 v1.23.5 // indirect
github.com/aws/aws-sdk-go-v2/config v1.25.11 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.16.9 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.9 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.8 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.8 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.1 // indirect
github.com/aws/aws-sdk-go-v2/service/ecr v1.24.1 // indirect
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.16.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.1 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.8 // indirect
github.com/aws/aws-sdk-go-v2/service/kms v1.24.7 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.15.2 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.25.0 // indirect
github.com/aws/smithy-go v1.16.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.18.2 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.2 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.26.2 // indirect
github.com/aws/smithy-go v1.18.1 // indirect
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20230510185313-f5e39e5f34c7 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
Expand All @@ -123,7 +124,7 @@ require (
github.com/chrismellard/docker-credential-acr-env v0.0.0-20230304212654-82a0ddb27589 // indirect
github.com/cloudevents/sdk-go/v2 v2.14.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/containerd/containerd v1.7.9 // indirect
github.com/containerd/containerd v1.7.11 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
Expand All @@ -144,6 +145,7 @@ require (
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-errors/errors v1.4.2 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
Expand Down Expand Up @@ -302,6 +304,7 @@ require (
github.com/zeebo/errs v1.3.0 // indirect
go.mongodb.org/mongo-driver v1.11.3 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 // indirect
go.opentelemetry.io/otel v1.19.0 // indirect
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
Expand Down Expand Up @@ -336,14 +339,14 @@ require (
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
k8s.io/api v0.28.4 // indirect
k8s.io/apiextensions-apiserver v0.28.2 // indirect
k8s.io/apiserver v0.28.2 // indirect
k8s.io/apiextensions-apiserver v0.28.4 // indirect
k8s.io/apiserver v0.28.4 // indirect
k8s.io/cli-runtime v0.28.4 // indirect
k8s.io/client-go v11.0.0+incompatible // indirect
k8s.io/component-base v0.28.3 // indirect
k8s.io/component-base v0.28.4 // indirect
k8s.io/klog/v2 v2.110.1 // indirect
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
k8s.io/kubectl v0.28.3 // indirect
k8s.io/kubectl v0.28.4 // indirect
k8s.io/utils v0.0.0-20230711102312-30195339c3c7 // indirect
knative.dev/pkg v0.0.0-20231023150739-56bfe0dd9626 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
Expand Down
Loading

0 comments on commit dadc793

Please sign in to comment.