From 73a3f181bee88d5a6dc93715e2835e93bac275f1 Mon Sep 17 00:00:00 2001 From: DutchEllie Date: Wed, 11 May 2022 14:40:49 +0200 Subject: [PATCH] maybe now --- .drone.yml | 16 ++++++++-------- Dockerfile | 4 ++-- pepeservice/Dockerfile | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3698419..56fb6de 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ steps: image: golang:1.16.4-alpine volumes: - name: build - path: /build + path: /drone/src environment: CGO_ENABLED: 0 GOOS: linux @@ -21,7 +21,7 @@ steps: privileged: true volumes: - name: build - path: /build + path: /drone/src settings: cache_from: - "dutchellie/pepebot:latest" @@ -51,7 +51,7 @@ steps: image: golang:1.17-alpine volumes: - name: build - path: /build + path: /drone/src environment: CGO_ENABLED: 0 GOOS: linux @@ -63,7 +63,7 @@ steps: privileged: true volumes: - name: build - path: /build + path: /drone/src settings: cache_from: - "dutchellie/pepebot_service:latest" @@ -94,7 +94,7 @@ steps: image: golang:1.16.4-alpine volumes: - name: build - path: /build + path: /drone/src environment: CGO_ENABLED: 0 GOOS: linux @@ -105,7 +105,7 @@ steps: privileged: true volumes: - name: build - path: /build + path: /drone/src settings: cache_from: - "dutchellie/pepebot:latest" @@ -135,7 +135,7 @@ steps: image: golang:1.17-alpine volumes: - name: build - path: /build + path: /drone/src environment: CGO_ENABLED: 0 GOOS: linux @@ -147,7 +147,7 @@ steps: privileged: true volumes: - name: build - path: /build + path: /drone/src settings: cache_from: - "dutchellie/pepebot_service:latest" diff --git a/Dockerfile b/Dockerfile index 0ec764d..659bcbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,6 @@ FROM alpine:latest RUN apk --no-cache add ca-certificates -WORKDIR /build/ -COPY /build/app . +WORKDIR /drone/src +COPY app . CMD ["./app"] \ No newline at end of file diff --git a/pepeservice/Dockerfile b/pepeservice/Dockerfile index ef73a0c..f798d13 100644 --- a/pepeservice/Dockerfile +++ b/pepeservice/Dockerfile @@ -9,6 +9,6 @@ FROM alpine:latest RUN apk --no-cache add ca-certificates -WORKDIR /build -COPY /build/app . +WORKDIR /drone/src +COPY app . CMD ["./app"] \ No newline at end of file