style: formatting
This commit is contained in:
parent
28b69b572b
commit
4b93a7ad28
10
Earthfile
10
Earthfile
@ -74,16 +74,16 @@ goreleaser:
|
|||||||
SAVE ARTIFACT dist dist
|
SAVE ARTIFACT dist dist
|
||||||
|
|
||||||
ssl-certs:
|
ssl-certs:
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add --no-cache ca-certificates
|
&& apk add --no-cache ca-certificates
|
||||||
SAVE ARTIFACT /etc/ssl/certs/ca-certificates.crt ca-certificates.crt
|
SAVE ARTIFACT /etc/ssl/certs/ca-certificates.crt ca-certificates.crt
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
FROM scratch
|
FROM scratch
|
||||||
ARG DOCKER_TAG
|
ARG DOCKER_TAG
|
||||||
COPY +ssl-certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
COPY +ssl-certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||||
COPY +goreleaser/dist/glucose_exporter_linux_amd64_v1/glucose_exporter /glucose_exporter
|
COPY +goreleaser/dist/glucose_exporter_linux_amd64_v1/glucose_exporter /glucose_exporter
|
||||||
VOLUME /var/cache/glucose_exporter
|
VOLUME /var/cache/glucose_exporter
|
||||||
ENTRYPOINT ["/glucose_exporter"]
|
ENTRYPOINT ["/glucose_exporter"]
|
||||||
CMD ["serve"]
|
CMD ["serve"]
|
||||||
SAVE IMAGE --push ghcr.io/xsteadfastx/glucose_exporter:$DOCKER_TAG
|
SAVE IMAGE --push ghcr.io/xsteadfastx/glucose_exporter:$DOCKER_TAG
|
||||||
|
Loading…
Reference in New Issue
Block a user