maybe now
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
DutchEllie 2022-05-11 14:40:49 +02:00
parent d84fdb5c79
commit 73a3f181be
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
3 changed files with 12 additions and 12 deletions

View File

@ -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"

View File

@ -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"]

View File

@ -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"]