Skip to content

Commit

Permalink
chore: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Jan 20, 2025
1 parent 11b6c7e commit 701cd59
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions modules/checks.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{ ... }:
{ self, ... }:
{
perSystem =
{ pkgs, config, ... }:
{
packages = {
inherit (pkgs.dockerTools.examples) nginx nginxStream;
};
checks = {
docker-manifest = config.legacyPackages.mkDockerManifest {
branch = "main";
version = "1.0.0";
imageFiles = with pkgs.dockerTools.examples; [ nginx ];
imageStreams = with pkgs.dockerTools.examples; [ nginxStream ];
imageFiles = with self.packages; [ x86_64-linux.nginx ];
imageStreams = with self.packages; [ aarch64-linux.nginxStream ];
registries."docker-manifest-dummy.mirkolenz.com" = {
username = "test";
password = "test";
Expand All @@ -23,8 +26,8 @@
};
branch = "main";
version = "1.0.0";
imageFiles = with pkgs.dockerTools.examples; [ nginx ];
imageStreams = with pkgs.dockerTools.examples; [ nginxStream ];
imageFiles = with self.packages; [ x86_64-linux.nginx ];
imageStreams = with self.packages; [ aarch64-linux.nginxStream ];
};
};
};
Expand Down

0 comments on commit 701cd59

Please sign in to comment.