From a92e5abe1bbf162110e90c1c8ce864af8eefc6e5 Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Fri, 22 Dec 2023 14:42:01 -0500 Subject: [PATCH] fix(flake): add manual ghcr.io registry Signed-off-by: Cameron Smith --- flake.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 99e8049..eb5918c 100644 --- a/flake.nix +++ b/flake.nix @@ -344,10 +344,17 @@ }; legacyPackages.devcontainerManifest = inputs.flocken.legacyPackages.${system}.mkDockerManifest { - github = { - enable = true; - token = builtins.getEnv "GH_TOKEN"; - repo = "sciexp/flytezendev"; + # github = { + # enable = true; + # token = builtins.getEnv "GH_TOKEN"; + # }; + registries = { + ghcr.io = { + enable = true; + repo = "sciexp/flytezendev"; + username = builtins.getEnv "GITHUB_ACTOR"; + password = builtins.getEnv "GH_TOKEN"; + }; }; version = builtins.getEnv "VERSION"; # images = with self.packages; [x86_64-linux.devcontainerDockerTools aarch64-linux.devcontainerDockerTools];