Oops
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
73a3f181be
commit
cdf03abb13
16
.drone.yml
16
.drone.yml
|
@ -10,7 +10,7 @@ steps:
|
||||||
image: golang:1.16.4-alpine
|
image: golang:1.16.4-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src
|
path: /build
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
|
@ -21,7 +21,7 @@ steps:
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src
|
path: /build
|
||||||
settings:
|
settings:
|
||||||
cache_from:
|
cache_from:
|
||||||
- "dutchellie/pepebot:latest"
|
- "dutchellie/pepebot:latest"
|
||||||
|
@ -51,7 +51,7 @@ steps:
|
||||||
image: golang:1.17-alpine
|
image: golang:1.17-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src
|
path: /build
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
|
@ -63,7 +63,7 @@ steps:
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src
|
path: /build
|
||||||
settings:
|
settings:
|
||||||
cache_from:
|
cache_from:
|
||||||
- "dutchellie/pepebot_service:latest"
|
- "dutchellie/pepebot_service:latest"
|
||||||
|
@ -94,7 +94,7 @@ steps:
|
||||||
image: golang:1.16.4-alpine
|
image: golang:1.16.4-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src
|
path: /build
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
|
@ -105,7 +105,7 @@ steps:
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src
|
path: /build
|
||||||
settings:
|
settings:
|
||||||
cache_from:
|
cache_from:
|
||||||
- "dutchellie/pepebot:latest"
|
- "dutchellie/pepebot:latest"
|
||||||
|
@ -135,7 +135,7 @@ steps:
|
||||||
image: golang:1.17-alpine
|
image: golang:1.17-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src
|
path: /build
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
|
@ -147,7 +147,7 @@ steps:
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src
|
path: /build
|
||||||
settings:
|
settings:
|
||||||
cache_from:
|
cache_from:
|
||||||
- "dutchellie/pepebot_service:latest"
|
- "dutchellie/pepebot_service:latest"
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk --no-cache add ca-certificates
|
RUN apk --no-cache add ca-certificates
|
||||||
WORKDIR /drone/src
|
WORKDIR /build
|
||||||
COPY app .
|
COPY app /root
|
||||||
|
WORKDIR /root
|
||||||
CMD ["./app"]
|
CMD ["./app"]
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk --no-cache add ca-certificates
|
RUN apk --no-cache add ca-certificates
|
||||||
WORKDIR /drone/src
|
WORKDIR /build
|
||||||
COPY app .
|
COPY app /root
|
||||||
|
WORKDIR /root
|
||||||
CMD ["./app"]
|
CMD ["./app"]
|
Loading…
Reference in New Issue