Add VCS build labels
the build was successful
Details
the build was successful
Details
parent
e74d2d841a
commit
3466b80204
|
@ -3,6 +3,8 @@ FROM node:10-alpine as build
|
||||||
# args
|
# args
|
||||||
ARG version="0.1.0"
|
ARG version="0.1.0"
|
||||||
ARG repo="github.com/productionwentdown/dri"
|
ARG repo="github.com/productionwentdown/dri"
|
||||||
|
ENV VUE_APP_VERSION=${version}
|
||||||
|
ENV VUE_APP_SOURCE_LINK="https://${repo}"
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
RUN apk add --no-cache git
|
RUN apk add --no-cache git
|
||||||
|
@ -21,7 +23,7 @@ FROM alpine:3.8
|
||||||
ARG version
|
ARG version
|
||||||
|
|
||||||
# labels
|
# labels
|
||||||
LABEL org.label-schema.vcs-url="https://github.com/productionwentdown/email-collector"
|
LABEL org.label-schema.vcs-url="https://github.com/productionwentdown/dri"
|
||||||
LABEL org.label-schema.version=${version}
|
LABEL org.label-schema.version=${version}
|
||||||
LABEL org.label-schema.schema-version="1.0"
|
LABEL org.label-schema.schema-version="1.0"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const version = process.env.VERSION || '[master]';
|
const version = process.env.VUE_APP_VERSION || '[master]';
|
||||||
const source = process.env.SOURCE_LINK || 'https://github.com/productionwentdown/dri';
|
const source = process.env.VUE_APP_SOURCE_LINK || 'https://github.com/productionwentdown/dri';
|
||||||
|
|
||||||
const defaultConfig = {
|
const defaultConfig = {
|
||||||
merged: false,
|
merged: false,
|
||||||
|
|
Loading…
Reference in New Issue