From c71436d926326a5f0df93e838dedea501b09e70a Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Fri, 30 May 2025 00:25:34 -0500 Subject: [PATCH] Try to fix podman exec --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d9e09b..56aa807 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,8 +29,8 @@ default: - IMG: - img-bitwarden script: - - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY" + - nix run "nixpkgs#podman" login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY" - nix build ".#${IMG}" - - podman load -i result - - podman tag "localhost/${IMG}:latest" "$CI_REGISTRY/greg/ci-images/${IMG}:latest" - - podman push "$CI_REGISTRY/greg/ci-images/${IMG}:latest" + - nix run "nixpkgs#podman" load -i result + - nix run "nixpkgs#podman" tag "localhost/${IMG}:latest" "$CI_REGISTRY/greg/ci-images/${IMG}:latest" + - nix run "nixpkgs#podman" push "$CI_REGISTRY/greg/ci-images/${IMG}:latest"