mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
fix: use golang 1.20 to build our container images (#1408)
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
parent
86ecbd3926
commit
5fcf01d8b8
10 changed files with 10 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM ghcr.io/project-zot/golang:1.19 AS builder
|
||||
FROM ghcr.io/project-zot/golang:1.20 AS builder
|
||||
ARG COMMIT
|
||||
ARG OS
|
||||
ARG ARCH
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM ghcr.io/project-zot/golang:1.19 AS builder
|
||||
FROM ghcr.io/project-zot/golang:1.20 AS builder
|
||||
ARG COMMIT
|
||||
RUN apt-get update && apt-get install -y git make ca-certificates
|
||||
RUN mkdir -p /go/src/github.com/project-zot/zot
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM ghcr.io/project-zot/golang:1.19 AS builder
|
||||
FROM ghcr.io/project-zot/golang:1.20 AS builder
|
||||
ARG COMMIT
|
||||
ARG OS
|
||||
ARG ARCH
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM ghcr.io/project-zot/golang:1.19 AS builder
|
||||
FROM ghcr.io/project-zot/golang:1.20 AS builder
|
||||
ARG COMMIT
|
||||
ARG OS
|
||||
ARG ARCH
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# ---
|
||||
# Stage 1: Build binary, create default config file
|
||||
# ---
|
||||
FROM ghcr.io/project-zot/golang:1.19 AS builder
|
||||
FROM ghcr.io/project-zot/golang:1.20 AS builder
|
||||
ARG COMMIT
|
||||
ARG OS
|
||||
ARG ARCH
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.19
|
||||
url: docker://ghcr.io/project-zot/golang:1.20
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.19
|
||||
url: docker://ghcr.io/project-zot/golang:1.20
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.19
|
||||
url: docker://ghcr.io/project-zot/golang:1.20
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.19
|
||||
url: docker://ghcr.io/project-zot/golang:1.20
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
build:
|
||||
from:
|
||||
type: docker
|
||||
url: docker://ghcr.io/project-zot/golang:1.19
|
||||
url: docker://ghcr.io/project-zot/golang:1.20
|
||||
binds:
|
||||
- ../. -> /zotcopy
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue