This commit is contained in:
parent
8ac37f33f3
commit
3bf607ea9a
23
.drone.yml
23
.drone.yml
|
@ -3,7 +3,7 @@ type: docker
|
|||
name: Build backend
|
||||
|
||||
steps:
|
||||
- name: Run Tests
|
||||
- name: Build backend
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- cd backend
|
||||
|
@ -12,6 +12,23 @@ steps:
|
|||
trigger:
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
- tag
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Build frontend
|
||||
|
||||
steps:
|
||||
- name: Build frontend
|
||||
image: yarn:apline
|
||||
commands:
|
||||
- cd frontend
|
||||
- yarn install
|
||||
- yarn build
|
||||
trigger:
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
- push
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ pkgs.dockerTools.buildImage {
|
|||
copyToRoot = pkgs.buildEnv {
|
||||
name = "image-root";
|
||||
paths = [
|
||||
pkgs.bash
|
||||
pkgs.coreutils
|
||||
# pkgs.bash
|
||||
# pkgs.coreutils
|
||||
];
|
||||
pathsToLink = [ "/bin" ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue