Use predictable tags

This commit is contained in:
Greg Hellings
2024-04-16 12:20:55 -05:00
parent 60ab63a415
commit e0dd87351d
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -1 +1,2 @@
.direnv/
result
+1 -1
View File
@@ -12,6 +12,6 @@ build:
for img in vm-test; do
nix build ".#${img}"
podman load -i result
podman tag "${img}" $CI_REGISTRY/greg/ci-images/${img}:latest
podman tag "localhost/${img}:latest" $CI_REGISTRY/greg/ci-images/${img}:latest
podman push "$CI_REGISTRY/greg/ci-images/${img}:latest"
done
+1
View File
@@ -24,6 +24,7 @@
packages = {
vm-test = pkgs.dockerTools.buildLayeredImage {
name = "vm-test";
tag = "latest";
contents = with pkgs; [
bash
curl