Use podman command instead of docker
This commit is contained in:
+3
-4
@@ -2,7 +2,6 @@ stages:
|
||||
- build
|
||||
|
||||
build:
|
||||
image: docker:latest
|
||||
stage: build
|
||||
tags:
|
||||
- nix
|
||||
@@ -12,7 +11,7 @@ build:
|
||||
- |-
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user