diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index 355e7e1..2d28bf8 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -20,7 +20,7 @@ jobs: - uses: DeterminateSystems/flake-checker-action@main with: - flake-lock-path: ./build/flake.lock + flake-lock-path: ./flake.lock - name: Setup Attic cache uses: ryanccn/attic-action@v0 diff --git a/flake.nix b/flake.nix index 8066b55..81d4467 100644 --- a/flake.nix +++ b/flake.nix @@ -30,12 +30,9 @@ mainProgram = "policy_service"; }; }; - dockerImage = pkgs.dockerTools.buildImage { + dockerImage = pkgs.dockerTools.buildLayeredImage { name = "policy_service"; - contents = [ - package - pkgs.busybox - ]; + contents = [ package ]; config = { Cmd = [ "${package}/bin/policy_service" "start" ]; };