maybe now
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
d84fdb5c79
commit
73a3f181be
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: /build
|
path: /drone/src
|
||||||
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: /build
|
path: /drone/src
|
||||||
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: /build
|
path: /drone/src
|
||||||
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: /build
|
path: /drone/src
|
||||||
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: /build
|
path: /drone/src
|
||||||
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: /build
|
path: /drone/src
|
||||||
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: /build
|
path: /drone/src
|
||||||
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: /build
|
path: /drone/src
|
||||||
settings:
|
settings:
|
||||||
cache_from:
|
cache_from:
|
||||||
- "dutchellie/pepebot_service:latest"
|
- "dutchellie/pepebot_service:latest"
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk --no-cache add ca-certificates
|
RUN apk --no-cache add ca-certificates
|
||||||
WORKDIR /build/
|
WORKDIR /drone/src
|
||||||
COPY /build/app .
|
COPY app .
|
||||||
CMD ["./app"]
|
CMD ["./app"]
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk --no-cache add ca-certificates
|
RUN apk --no-cache add ca-certificates
|
||||||
WORKDIR /build
|
WORKDIR /drone/src
|
||||||
COPY /build/app .
|
COPY app .
|
||||||
CMD ["./app"]
|
CMD ["./app"]
|
Loading…
Reference in New Issue