mirror of
https://codeberg.org/hyperreal/containers
synced 2024-11-25 11:43:41 +01:00
Push to registry
This commit is contained in:
parent
cd7b70fa6c
commit
d578422ace
@ -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 install -y '@container-management' '@development-tools' '@c-development' container-selinux ostree rpm-ostree rsync
|
||||||
- buildah run $container -- dnf clean all
|
- buildah run $container -- dnf clean all
|
||||||
- buildah commit --squash --rm $container "$FQ_IMAGE_NAME"
|
- buildah commit --squash --rm $container "$FQ_IMAGE_NAME"
|
||||||
|
- buildah push "$FQ_IMAGE_NAME"
|
||||||
|
|
||||||
fedora-distrobox-build-job:
|
fedora-distrobox-build-job:
|
||||||
stage: build
|
stage: build
|
||||||
@ -30,7 +31,7 @@ fedora-distrobox-build-job:
|
|||||||
STORAGE_DRIVER: vfs
|
STORAGE_DRIVER: vfs
|
||||||
BUILDAH_FORMAT: docker
|
BUILDAH_FORMAT: docker
|
||||||
BUILDAH_ISOLATION: chroot
|
BUILDAH_ISOLATION: chroot
|
||||||
FQ_IMAGE_NAME: "$CI_REGISTRY_NAME/fedora-distrobox:39"
|
FQ_IMAGE_NAME: "$CI_REGISTRY_IMAGE/fedora-distrobox:39"
|
||||||
before_script:
|
before_script:
|
||||||
- buildah login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
- buildah login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
||||||
script:
|
script:
|
||||||
@ -44,3 +45,4 @@ fedora-distrobox-build-job:
|
|||||||
- buildah run $container -- dnf clean all
|
- buildah run $container -- dnf clean all
|
||||||
- buildah config --shell /usr/bin/nu $container
|
- buildah config --shell /usr/bin/nu $container
|
||||||
- buildah commit --squash --rm $container "$FQ_IMAGE_NAME"
|
- buildah commit --squash --rm $container "$FQ_IMAGE_NAME"
|
||||||
|
- buildah push "$FQ_IMAGE_NAME"
|
||||||
|
Loading…
Reference in New Issue
Block a user