Try going back to docker for now

This commit is contained in:
Greg Hellings
2024-04-16 12:04:18 -05:00
parent 0985876c5a
commit e71db0a8a7
+5 -6
View File
@@ -4,14 +4,13 @@ stages:
build: build:
stage: build stage: build
tags: tags:
- nix - docker
- podman
script: script:
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker 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}"
podman load -i result docker load -i result
podman tag "${img}" $CI_REGISTRY/greg/ci-images/${img}:latest docker tag "${img}" $CI_REGISTRY/greg/ci-images/${img}:latest
podman push "$CI_REGISTRY/greg/ci-images/${img}:latest" docker push "$CI_REGISTRY/greg/ci-images/${img}:latest"
done done