From 60ab63a4158be46fa75e794795c8fc9731c2785e Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 16 Apr 2024 12:11:41 -0500 Subject: [PATCH] Update the system and use podman, again --- .gitlab-ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3284a21..c424020 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,13 +4,14 @@ stages: build: stage: build tags: - - docker + - nix + - podman script: - - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - |- for img in vm-test; do nix build ".#${img}" - docker load -i result - docker tag "${img}" $CI_REGISTRY/greg/ci-images/${img}:latest - docker push "$CI_REGISTRY/greg/ci-images/${img}:latest" + podman load -i result + podman tag "${img}" $CI_REGISTRY/greg/ci-images/${img}:latest + podman push "$CI_REGISTRY/greg/ci-images/${img}:latest" done