From cb9ddd27bb410f9ea8748e0f86bd3166c65e2f4a Mon Sep 17 00:00:00 2001 From: DutchEllie Date: Wed, 11 May 2022 15:06:00 +0200 Subject: [PATCH] okay halfway there --- .drone.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2689531..61779f5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,19 +51,19 @@ steps: image: golang:1.17-alpine volumes: - name: build - path: /drone/src/pepeservice/build + path: /drone/src/build environment: CGO_ENABLED: 0 GOOS: linux commands: - cd ./pepeservice - - go build -a -installsuffix cgo -o ./build/app . + - go build -a -installsuffix cgo -o ../build/app . - name: build-service image: plugins/docker privileged: true volumes: - name: build - path: /drone/src/pepeservice/build + path: /drone/src/build settings: cache_from: - "dutchellie/pepebot_service:latest" @@ -94,18 +94,18 @@ steps: image: golang:1.16.4-alpine volumes: - name: build - path: /build + path: /drone/src/build environment: CGO_ENABLED: 0 GOOS: linux commands: - - go build -a -installsuffix cgo -o /build/app ./discord + - go build -a -installsuffix cgo -o ./build/app ./discord - name: build-publish-image image: plugins/docker privileged: true volumes: - name: build - path: /build + path: /drone/src/build settings: cache_from: - "dutchellie/pepebot:latest" @@ -135,19 +135,19 @@ steps: image: golang:1.17-alpine volumes: - name: build - path: /build + path: /drone/src/build environment: CGO_ENABLED: 0 GOOS: linux commands: - cd ./pepeservice - - go build -a -installsuffix cgo -o /build/app . + - go build -a -installsuffix cgo -o ../build/app . - name: build-service image: plugins/docker privileged: true volumes: - name: build - path: /build + path: /drone/src/build settings: cache_from: - "dutchellie/pepebot_service:latest"