Push to registry

This commit is contained in:
Jeffrey Serio 2024-03-06 03:38:59 -06:00
parent cd7b70fa6c
commit d578422ace

View File

@ -20,6 +20,7 @@ fedora-build-job:
- buildah run $container -- dnf install -y '@container-management' '@development-tools' '@c-development' container-selinux ostree rpm-ostree rsync
- buildah run $container -- dnf clean all
- buildah commit --squash --rm $container "$FQ_IMAGE_NAME"
- buildah push "$FQ_IMAGE_NAME"
fedora-distrobox-build-job:
stage: build
@ -30,7 +31,7 @@ fedora-distrobox-build-job:
STORAGE_DRIVER: vfs
BUILDAH_FORMAT: docker
BUILDAH_ISOLATION: chroot
FQ_IMAGE_NAME: "$CI_REGISTRY_NAME/fedora-distrobox:39"
FQ_IMAGE_NAME: "$CI_REGISTRY_IMAGE/fedora-distrobox:39"
before_script:
- buildah login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script:
@ -44,3 +45,4 @@ fedora-distrobox-build-job:
- buildah run $container -- dnf clean all
- buildah config --shell /usr/bin/nu $container
- buildah commit --squash --rm $container "$FQ_IMAGE_NAME"
- buildah push "$FQ_IMAGE_NAME"