mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-19 05:13:30 +02:00
updated CI flow and change master -> main (#105)
This commit is contained in:
@@ -5,7 +5,7 @@ RUN npm install
|
||||
COPY ui .
|
||||
RUN npm run build
|
||||
|
||||
FROM docker.io/golang:1.14 AS build
|
||||
FROM docker.io/golang:latest AS build
|
||||
WORKDIR /wg
|
||||
RUN go get github.com/go-bindata/go-bindata/...
|
||||
RUN go get github.com/elazarl/go-bindata-assetfs/...
|
||||
@@ -17,7 +17,7 @@ COPY --from=ui /ui/dist ui/dist
|
||||
RUN go-bindata-assetfs -prefix ui/dist ui/dist
|
||||
RUN go install .
|
||||
|
||||
FROM docker.io/golang:1.14 AS wg_go_build
|
||||
FROM docker.io/golang:latest AS wg_go_build
|
||||
WORKDIR /wg-go
|
||||
RUN git init && \
|
||||
git remote add origin https://git.zx2c4.com/wireguard-go && \
|
||||
|
||||
Reference in New Issue
Block a user