Files
ci-images/.gitlab-ci.yml
T
2024-04-16 12:20:55 -05:00

18 lines
419 B
YAML

stages:
- build
build:
stage: build
tags:
- nix
- podman
script:
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- |-
for img in vm-test; do
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"
done