Compare commits
1 Commits
4aea64f71f
...
229c2d535e
Author | SHA1 | Date | |
---|---|---|---|
229c2d535e |
@ -30,6 +30,7 @@ steps:
|
||||
settings:
|
||||
registry: reg.meutel.net
|
||||
repo: reg.meutel.net/go-bouquins
|
||||
build_args: "version=$DRONE_TAG"
|
||||
username:
|
||||
from_secret: registry_login
|
||||
password:
|
||||
@ -73,6 +74,6 @@ trigger:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 402ef53d245969c2df4d6ec14d51d3d9665856c8fa0ec8248755a209fb66ff36
|
||||
hmac: 6d31a8c73df2a63f6f04334ebf20ad9c7e4a992acb15097b1f887433748f0fd7
|
||||
|
||||
...
|
||||
|
@ -1,11 +1,12 @@
|
||||
FROM golang as builder
|
||||
|
||||
ARG version
|
||||
WORKDIR /go/src/meutel.net/meutel/go-bouquins
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN GO111MODULE=on go get .
|
||||
RUN GO111MODULE=on CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||
RUN GO111MODULE=on CGO_ENABLED=1 GOOS=linux go build -ldflags "-X main.version=$version" -a -installsuffix cgo -o app .
|
||||
RUN curl -X POST -s --data-urlencode 'input@assets/css/bouquins.css' https://cssminifier.com/raw > assets/css/bouquins.min.css
|
||||
|
||||
# deployment image
|
||||
|
Loading…
Reference in New Issue
Block a user