Fixed build step
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f43dcecda6
commit
41c62528de
21
.drone.yml
21
.drone.yml
|
@ -26,7 +26,6 @@ steps:
|
|||
- cp -R /app/dist ./dist
|
||||
- cargo test
|
||||
|
||||
|
||||
- name: build
|
||||
image: rust
|
||||
volumes:
|
||||
|
@ -36,10 +35,10 @@ steps:
|
|||
- cp -R /app/dist ./dist
|
||||
- cargo build --release
|
||||
- cp target/release/vade /app/build/vade
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
|
||||
- cp target/x86_64-unknown-linux-musl/release/vade /app/build/vade
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
|
||||
- name: stage-deploy
|
||||
image: plugins/docker
|
||||
|
@ -56,12 +55,12 @@ steps:
|
|||
context: /app/build
|
||||
repo: git.5sigma.io/vade/app
|
||||
tags: latest
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- staging
|
||||
- production
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
# target:
|
||||
# - staging
|
||||
# - production
|
||||
|
||||
volumes:
|
||||
- name: temp
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM alpine:latest
|
||||
COPY target/x86_64-unknown-linux-musl/release/vade /app/vade
|
||||
COPY vade /app/vade
|
||||
EXPOSE 8089
|
||||
WORKDIR app
|
||||
RUN mkdir data
|
||||
|
|
Loading…
Reference in New Issue