Add img-immich for Immich backups
This commit is contained in:
@@ -29,6 +29,7 @@ default:
|
|||||||
matrix:
|
matrix:
|
||||||
- IMG:
|
- IMG:
|
||||||
- img-bitwarden
|
- img-bitwarden
|
||||||
|
- img-immich
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "*.tar.gz"
|
- "*.tar.gz"
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ in
|
|||||||
inject-darwin = c ./inject-darwin.nix { };
|
inject-darwin = c ./inject-darwin.nix { };
|
||||||
inject = c ./inject.nix { };
|
inject = c ./inject.nix { };
|
||||||
img-bitwarden = c ./img-bitwarden.nix { };
|
img-bitwarden = c ./img-bitwarden.nix { };
|
||||||
|
img-immich = c ./img-immich.nix { };
|
||||||
qemu-hook = c ./qemu-hook.nix { };
|
qemu-hook = c ./qemu-hook.nix { };
|
||||||
setup-ssh = c ./setup-ssh { };
|
setup-ssh = c ./setup-ssh { };
|
||||||
upgrade-pg-cluster = c ./upgrade-pg-cluster.nix { };
|
upgrade-pg-cluster = c ./upgrade-pg-cluster.nix { };
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
immich-go,
|
||||||
|
cacert,
|
||||||
|
dockerTools,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
dockerTools.buildLayeredImage {
|
||||||
|
name = "img-bitwarden";
|
||||||
|
tag = "latest";
|
||||||
|
contents = [
|
||||||
|
dockerTools.binSh
|
||||||
|
dockerTools.caCertificates
|
||||||
|
immich-go
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
Cmd = [
|
||||||
|
(lib.getExe immich-go)
|
||||||
|
];
|
||||||
|
Env = [
|
||||||
|
"CURL_CA_BUNDLE=${cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user