Update the system and use podman, again

This commit is contained in:
Greg Hellings
2024-04-16 12:11:41 -05:00
parent e71db0a8a7
commit 60ab63a415
+6 -5
View File
@@ -4,13 +4,14 @@ stages:
build: build:
stage: build stage: build
tags: tags:
- docker - nix
- podman
script: 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 for img in vm-test; do
nix build ".#${img}" nix build ".#${img}"
docker load -i result podman load -i result
docker tag "${img}" $CI_REGISTRY/greg/ci-images/${img}:latest podman tag "${img}" $CI_REGISTRY/greg/ci-images/${img}:latest
docker push "$CI_REGISTRY/greg/ci-images/${img}:latest" podman push "$CI_REGISTRY/greg/ci-images/${img}:latest"
done done