mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
chore: fix dependabot alerts (#4048)
* chore: fix dependabot alerts Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: fix dependabot alerts Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: fix dependabot alerts Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: fix golangci-lint findings from CI Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: fix golangci-lint gosec warnings Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: update code to use slices package and address gosec linting issues Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * build: fix makefile target Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: update tests to use context in HTTP requests and add gosec annotations Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: update tests to use context in HTTP requests Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: update tests to use context in HTTP requests Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: update tests to use context in HTTP requests Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: update tests to use context in HTTP requests Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: bump zui version Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: update test helpers and improve security settings in tests Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> * chore: add gosec linting directive for test path construction Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com> --------- Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9757f7cf41
commit
9aff5b8d08
+1
-1
@@ -11,7 +11,7 @@ ARG BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest
|
||||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.25 AS builder
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.26 AS builder
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
@@ -11,7 +11,7 @@ ARG BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest
|
||||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.25 AS builder
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.26 AS builder
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
@@ -11,7 +11,7 @@ ARG BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest
|
||||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.25 AS builder
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.26 AS builder
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ ARG BASE_IMAGE
|
||||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.25 AS builder
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.26 AS builder
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
@@ -11,7 +11,7 @@ ARG BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest
|
||||
# ---
|
||||
# Stage 1: Build binary, create default config file
|
||||
# ---
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.25 AS builder
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.26 AS builder
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.25
|
||||
url: docker://ghcr.io/project-zot/golang:1.26
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.25
|
||||
url: docker://ghcr.io/project-zot/golang:1.26
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.25
|
||||
url: docker://ghcr.io/project-zot/golang:1.26
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.25
|
||||
url: docker://ghcr.io/project-zot/golang:1.26
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.25
|
||||
url: docker://ghcr.io/project-zot/golang:1.26
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user