mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +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,11 +2,12 @@
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
# ---
|
||||
FROM docker.io/golang:1.16-alpine AS builder
|
||||
ARG COMMIT
|
||||
RUN apk --update add git make ca-certificates
|
||||
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 -e '# Default config file for zot server\n\
|
||||
http:\n\
|
||||
address: 0.0.0.0\n\
|
||||
|
||||
Reference in New Issue
Block a user