This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: DeterminateSystems/flake-checker-action@main
|
- uses: DeterminateSystems/flake-checker-action@main
|
||||||
with:
|
with:
|
||||||
flake-lock-path: ./build/flake.lock
|
flake-lock-path: ./flake.lock
|
||||||
|
|
||||||
- name: Setup Attic cache
|
- name: Setup Attic cache
|
||||||
uses: ryanccn/attic-action@v0
|
uses: ryanccn/attic-action@v0
|
||||||
|
|||||||
@@ -30,12 +30,9 @@
|
|||||||
mainProgram = "policy_service";
|
mainProgram = "policy_service";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
dockerImage = pkgs.dockerTools.buildImage {
|
dockerImage = pkgs.dockerTools.buildLayeredImage {
|
||||||
name = "policy_service";
|
name = "policy_service";
|
||||||
contents = [
|
contents = [ package ];
|
||||||
package
|
|
||||||
pkgs.busybox
|
|
||||||
];
|
|
||||||
config = {
|
config = {
|
||||||
Cmd = [ "${package}/bin/policy_service" "start" ];
|
Cmd = [ "${package}/bin/policy_service" "start" ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user