okay halfway there
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fd624c6440
commit
cb9ddd27bb
18
.drone.yml
18
.drone.yml
|
@ -51,19 +51,19 @@ steps:
|
||||||
image: golang:1.17-alpine
|
image: golang:1.17-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src/pepeservice/build
|
path: /drone/src/build
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
commands:
|
commands:
|
||||||
- cd ./pepeservice
|
- cd ./pepeservice
|
||||||
- go build -a -installsuffix cgo -o ./build/app .
|
- go build -a -installsuffix cgo -o ../build/app .
|
||||||
- name: build-service
|
- name: build-service
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /drone/src/pepeservice/build
|
path: /drone/src/build
|
||||||
settings:
|
settings:
|
||||||
cache_from:
|
cache_from:
|
||||||
- "dutchellie/pepebot_service:latest"
|
- "dutchellie/pepebot_service:latest"
|
||||||
|
@ -94,18 +94,18 @@ steps:
|
||||||
image: golang:1.16.4-alpine
|
image: golang:1.16.4-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /build
|
path: /drone/src/build
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
commands:
|
commands:
|
||||||
- go build -a -installsuffix cgo -o /build/app ./discord
|
- go build -a -installsuffix cgo -o ./build/app ./discord
|
||||||
- name: build-publish-image
|
- name: build-publish-image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /build
|
path: /drone/src/build
|
||||||
settings:
|
settings:
|
||||||
cache_from:
|
cache_from:
|
||||||
- "dutchellie/pepebot:latest"
|
- "dutchellie/pepebot:latest"
|
||||||
|
@ -135,19 +135,19 @@ steps:
|
||||||
image: golang:1.17-alpine
|
image: golang:1.17-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /build
|
path: /drone/src/build
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
commands:
|
commands:
|
||||||
- cd ./pepeservice
|
- cd ./pepeservice
|
||||||
- go build -a -installsuffix cgo -o /build/app .
|
- go build -a -installsuffix cgo -o ../build/app .
|
||||||
- name: build-service
|
- name: build-service
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /build
|
path: /drone/src/build
|
||||||
settings:
|
settings:
|
||||||
cache_from:
|
cache_from:
|
||||||
- "dutchellie/pepebot_service:latest"
|
- "dutchellie/pepebot_service:latest"
|
||||||
|
|
Loading…
Reference in New Issue