From 8691ee354cab24d29fb8c115cbcda28663f4491c Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Thu, 17 Aug 2023 13:38:15 -0500 Subject: [PATCH] fix drone build --- .drone.yml | 8 ++++---- flake.nix | 10 ++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 33da903..ec9c78f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,8 +20,8 @@ steps: pull: always commands: - set - - echo "$${PLUGIN_USERNAME}" "$${USERNAME}" - - echo -n "$${PLUGIN_PASSWORD}" | podman login --username $${PLUGIN_USERNAME} --password-stdin $${PLUGIN_REGISTRY} + - nix run .#login + # - echo -n "$${PLUGIN_PASSWORD}" | podman login --username $${PLUGIN_USERNAME} --password-stdin $${PLUGIN_REGISTRY} - nix build .#nixos-runner # - nix run .#push-container -- result - podman load --input result | sed -n -e "s/Loaded image:.\\(.*\\)/\\1/p" > loaded-image @@ -30,8 +30,8 @@ steps: - podman tag "$$(