ci/cd: include tag name in release docker builds

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2021-12-15 22:47:53 +00:00
committed by Ramkumar Chinchani
parent 50a0831f1b
commit fc4a34d43a
7 changed files with 21 additions and 8 deletions
+2 -1
View File
@@ -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\