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