mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
chore: use go1.23 in the build environment of zot container images (#2773)
* chore: use go1.23 in the build environment of zot container images Signed-off-by: Andrei Aaron <aaaron@luxoft.com> * chore: increase timeout in test/blackbox/restore_s3_blobs.bats Looks like the message is actually there even if the test fails, maybe there is a timing issue. https://github.com/project-zot/zot/actions/runs/11747889146/job/32730772641 Signed-off-by: Andrei Aaron <aaaron@luxoft.com> --------- Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
parent
c9914912d4
commit
dc38113df0
11 changed files with 11 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
||||||
# ---
|
# ---
|
||||||
# Stage 1: Install certs, build binary, create default config file
|
# Stage 1: Install certs, build binary, create default config file
|
||||||
# ---
|
# ---
|
||||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
|
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ---
|
# ---
|
||||||
# Stage 1: Install certs, build binary, create default config file
|
# Stage 1: Install certs, build binary, create default config file
|
||||||
# ---
|
# ---
|
||||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
|
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ---
|
# ---
|
||||||
# Stage 1: Install certs, build binary, create default config file
|
# Stage 1: Install certs, build binary, create default config file
|
||||||
# ---
|
# ---
|
||||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
|
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ---
|
# ---
|
||||||
# Stage 1: Install certs, build binary, create default config file
|
# Stage 1: Install certs, build binary, create default config file
|
||||||
# ---
|
# ---
|
||||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
|
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ---
|
# ---
|
||||||
# Stage 1: Build binary, create default config file
|
# Stage 1: Build binary, create default config file
|
||||||
# ---
|
# ---
|
||||||
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
|
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
build:
|
build:
|
||||||
from:
|
from:
|
||||||
type: docker
|
type: docker
|
||||||
url: docker://ghcr.io/project-zot/golang:1.22
|
url: docker://ghcr.io/project-zot/golang:1.23
|
||||||
binds:
|
binds:
|
||||||
- ../. -> /zotcopy
|
- ../. -> /zotcopy
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
build:
|
build:
|
||||||
from:
|
from:
|
||||||
type: docker
|
type: docker
|
||||||
url: docker://ghcr.io/project-zot/golang:1.22
|
url: docker://ghcr.io/project-zot/golang:1.23
|
||||||
binds:
|
binds:
|
||||||
- ../. -> /zotcopy
|
- ../. -> /zotcopy
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
build:
|
build:
|
||||||
from:
|
from:
|
||||||
type: docker
|
type: docker
|
||||||
url: docker://ghcr.io/project-zot/golang:1.22
|
url: docker://ghcr.io/project-zot/golang:1.23
|
||||||
binds:
|
binds:
|
||||||
- ../. -> /zotcopy
|
- ../. -> /zotcopy
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
build:
|
build:
|
||||||
from:
|
from:
|
||||||
type: docker
|
type: docker
|
||||||
url: docker://ghcr.io/project-zot/golang:1.22
|
url: docker://ghcr.io/project-zot/golang:1.23
|
||||||
binds:
|
binds:
|
||||||
- ../. -> /zotcopy
|
- ../. -> /zotcopy
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
build:
|
build:
|
||||||
from:
|
from:
|
||||||
type: docker
|
type: docker
|
||||||
url: docker://ghcr.io/project-zot/golang:1.22
|
url: docker://ghcr.io/project-zot/golang:1.23
|
||||||
binds:
|
binds:
|
||||||
- ../. -> /zotcopy
|
- ../. -> /zotcopy
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -131,7 +131,7 @@ function teardown_file() {
|
||||||
|
|
||||||
start=`date +%s`
|
start=`date +%s`
|
||||||
echo "waiting for restoring blobs task to finish" >&3
|
echo "waiting for restoring blobs task to finish" >&3
|
||||||
run wait_for_string "no digests left, finished" ${ZOT_LOG_FILE} "5m"
|
run wait_for_string "no digests left, finished" ${ZOT_LOG_FILE} "6m"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
|
|
||||||
end=`date +%s`
|
end=`date +%s`
|
||||||
|
|
Loading…
Reference in a new issue