mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-12-18 00:13:23 +00:00
refactor, remove dirty migration, npm update
This commit is contained in:
parent
a765dead02
commit
f90124afbf
@ -7,7 +7,7 @@ build-back:
|
|||||||
stage: build artifacts
|
stage: build artifacts
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
script:
|
script:
|
||||||
- GOOS=linux GOARCH=amd64 go build -ldflags="-X 'gitlab.127-0-0-1.fr/vx3r/wg-gen-web/version.Version=${CI_COMMIT_SHA}'" gitlab.127-0-0-1.fr/vx3r/wg-gen-web/cmd/wg-gen-web -o ${CI_PROJECT_NAME}-linux-amd64
|
- GOOS=linux GOARCH=amd64 go build -o ${CI_PROJECT_NAME}-linux-amd64 -ldflags="-X 'gitlab.127-0-0-1.fr/vx3r/wg-gen-web/version.Version=${CI_COMMIT_SHA}'" gitlab.127-0-0-1.fr/vx3r/wg-gen-web/cmd/wg-gen-web
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- ${CI_PROJECT_NAME}-linux-amd64
|
- ${CI_PROJECT_NAME}-linux-amd64
|
||||||
|
@ -4,7 +4,7 @@ FROM golang:alpine AS build-back
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ARG COMMIT
|
ARG COMMIT
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -ldflags="-X 'gitlab.127-0-0-1.fr/vx3r/wg-gen-web/version.Version=${COMMIT}'" gitlab.127-0-0-1.fr/vx3r/wg-gen-web/cmd/wg-gen-web -o wg-gen-web-linux
|
RUN go build -o wg-gen-web-linux -ldflags="-X 'gitlab.127-0-0-1.fr/vx3r/wg-gen-web/version.Version=${COMMIT}'" gitlab.127-0-0-1.fr/vx3r/wg-gen-web/cmd/wg-gen-web
|
||||||
|
|
||||||
FROM node:10-alpine AS build-front
|
FROM node:10-alpine AS build-front
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Loading…
Reference in New Issue
Block a user