fix docker image label
This commit is contained in:
@@ -6,11 +6,13 @@ WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
ARG VERSION=dev
|
||||
LABEL org.opencontainers.image.version=${VERSION}
|
||||
RUN GOOS=linux go build -ldflags="-s -w -X main.version=${VERSION}" -o /app/zenfeed ./main.go
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
ARG VERSION=dev
|
||||
LABEL org.opencontainers.image.version=${VERSION}
|
||||
|
||||
RUN apk add --no-cache ca-certificates tzdata && \
|
||||
mkdir -p /app/data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user