From 82d396d3c934816bf682e2256addad99275e220b Mon Sep 17 00:00:00 2001 From: Evan Fiordeliso Date: Sat, 12 Aug 2023 13:46:32 -0400 Subject: [PATCH] Add docker-login script --- devenv.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devenv.nix b/devenv.nix index 39e0ab9..2ba0719 100644 --- a/devenv.nix +++ b/devenv.nix @@ -53,6 +53,8 @@ --platform $DOCKER_PLATFORMS ''; + scripts.docker-login.exec = "docker login $DOCKER_REGISTRY"; + scripts.docker-build.exec = '' platform=''${1:-linux} output=''${2:-type=docker}