ci: add mui build to release steps (#3023)

This commit is contained in:
Travis Groth 2022-02-09 16:53:36 -05:00 committed by GitHub
parent 8b3b135c7a
commit 0ece090c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 2 deletions

View file

@ -1,3 +1,18 @@
FROM node:16 as ui
WORKDIR /build
COPY .git ./.git
COPY Makefile ./Makefile
# download yarn dependencies
COPY ui/yarn.lock ./ui/yarn.lock
COPY ui/package.json ./ui/package.json
RUN make yarn
# build ui
COPY ./ui/ ./ui/
RUN make build-ui
FROM golang:latest as build
WORKDIR /go/src/github.com/pomerium/pomerium
@ -8,9 +23,9 @@ RUN apt-get update \
COPY go.mod go.sum ./
RUN go mod download
COPY . .
COPY --from=ui /build/ui/dist ./ui/dist
# build
RUN make build-deps
RUN make build-debug NAME=pomerium
RUN touch /config.yaml
RUN go get github.com/go-delve/delve/cmd/dlv