Files
ci-images/.gitlab-ci.yml
T

20 lines
451 B
YAML

stages:
- build
build:
stage: build
parallel:
matrix:
- IMG:
- vm-test
- sword-container-builder
tags:
- nix
- podman
script:
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- 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"