From 9db1d09ef76eab83dea2a0702961161036310ba3 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 15 Apr 2023 23:33:12 -0500 Subject: [PATCH] use push-container embedded into image --- .drone.yml | 8 ++++---- flake.nix | 20 -------------------- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/.drone.yml b/.drone.yml index 26ca68b..a117006 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,13 +35,13 @@ steps: pull: always commands: - nix build -L .#webserver - - nix run .#push-container -- result --repository network/healthchecks-webserver + - push-container result --repository network/healthchecks-webserver - nix build -L .#smtpd - - nix run .#push-container -- result --repository network/healthchecks-smtpd + - push-container result --repository network/healthchecks-smtpd - nix build -L .#sendalerts - - nix run .#push-container -- result --repository network/healthchecks-sendalerts + - push-container result --repository network/healthchecks-sendalerts - nix build -L .#maintenance - - nix run .#push-container -- result --repository network/healthchecks-maintenance + - push-container result --repository network/healthchecks-maintenance settings: registry: r.ocj.io username: diff --git a/flake.nix b/flake.nix index 96016cf..7186839 100644 --- a/flake.nix +++ b/flake.nix @@ -12,26 +12,6 @@ system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; - overlays = [ - ( - self: super: { - # sonarr = super.sonarr.overrideAttrs ( - # old: - # let - # version = "3.0.10.1567"; - # sha256 = "sha256-6zdp/Bg+9pcrElW5neB+BC16Vn1VhTjhMRRIxGrKhxc="; - # in - # { - # inherit version; - # src = pkgs.fetchurl { - # url = "https://download.sonarr.tv/v3/main/${version}/Sonarr.main.${version}.linux.tar.gz"; - # sha256 = sha256; - # }; - # } - # ); - } - ) - ]; }; py = pkgs.python3.override { packageOverrides = final: prev: {