Switching to Drone CI and giredore.

This commit is contained in:
2019-10-12 14:26:46 +05:00
parent e042c4414f
commit 4d60a9b1b6
2 changed files with 46 additions and 4 deletions

View File

@@ -1,16 +1,16 @@
FROM golang:1.13-alpine AS build
FROM golang:1.13.1-alpine AS build
WORKDIR /go/src/gitlab.com/pztrn/fastpastebin
WORKDIR /go/src/go.dev.pztrn.name/fastpastebin
COPY . .
WORKDIR /go/src/gitlab.com/pztrn/fastpastebin/cmd/fastpastebin
WORKDIR /go/src/go.dev.pztrn.name/fastpastebin/cmd/fastpastebin
RUN go build
FROM alpine:3.10
LABEL maintainer "Stanislav N. <pztrn@pztrn.name>"
COPY --from=build /go/src/gitlab.com/pztrn/fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin
COPY --from=build /go/src/go.dev.pztrn.name/fastpastebin/cmd/fastpastebin/fastpastebin /app/fastpastebin
COPY docker/fastpastebin.docker.yaml /app/fastpastebin.yaml
EXPOSE 25544