mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
ci/cd: include tag name in release docker builds
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
50a0831f1b
commit
fc4a34d43a
+2
-1
@@ -2,10 +2,11 @@
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM docker.io/golang:1.16 AS builder
|
||||
ARG COMMIT
|
||||
RUN mkdir -p /go/src/github.com/project-zot/zot
|
||||
WORKDIR /go/src/github.com/project-zot/zot
|
||||
COPY . .
|
||||
RUN make clean binary
|
||||
RUN make COMMIT=$COMMIT clean binary
|
||||
RUN echo '{\n\
|
||||
"storage": {\n\
|
||||
"rootDirectory": "/var/lib/registry"\n\
|
||||
|
||||
Reference in New Issue
Block a user