successfully automated tagged+versioned docker image builds and pushes
continuous-integration/drone/tag Build is failing
Details
continuous-integration/drone/tag Build is failing
Details
parent
135591cd0b
commit
2188af0b78
@ -1,11 +1,10 @@
|
||||
FROM golang:latest AS builder
|
||||
ADD . /opt/obp
|
||||
WORKDIR /opt/obp
|
||||
# RUN go build -o baas cmd/main.go
|
||||
RUN make build-alpine
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add ca-certificates
|
||||
ARG VERSION=*
|
||||
COPY --from=builder /opt/obp/dist/obp-$VERSION-alpine_amda64/obp /bin/obp
|
||||
COPY --from=builder /opt/obp/dist/obp-$VERSION-alpine_amd64/obp /bin/obp
|
||||
RUN chmod +x /bin/obp
|
||||
|
Loading…
Reference in New Issue