mirror of
https://codeberg.org/hyperreal/vauxite-build
synced 2024-11-01 16:53:12 +01:00
Check status of container
This commit is contained in:
parent
245bc3645b
commit
26362ea7b9
@ -13,7 +13,6 @@ compose-job:
|
||||
BUILD_REPO: "/build-repo"
|
||||
SOURCE_REPO: "/source-repo"
|
||||
before_script:
|
||||
- podman image prune -f
|
||||
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
||||
script:
|
||||
- mkdir -p "$(pwd)/.tmp"
|
||||
@ -37,7 +36,7 @@ nonfree-build-job:
|
||||
- buildah-exec
|
||||
image: git.hyperreal.coffee:5050/fedora-atomic/containers/buildah:latest
|
||||
variables:
|
||||
STORAGE_DRIVER: overlay2
|
||||
STORAGE_DRIVER: overlay
|
||||
BUILDAH_FORMAT: docker
|
||||
BUILDAH_ISOLATION: chroot
|
||||
FQ_IMAGE_NAME: "$CI_REGISTRY_IMAGE/vauxite-nonfree:39"
|
||||
@ -46,8 +45,10 @@ nonfree-build-job:
|
||||
- buildah login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
||||
script:
|
||||
- container=$(buildah from git.hyperreal.coffee:5050/fedora-atomic/vauxite-build/vauxite:39)
|
||||
- buildah containers
|
||||
- buildah run $container -- rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-39.noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-39.noarch.rpm
|
||||
- buildah run $container -- rpm-ostree override remove libavcodec-free libavfilter-free libavformat-free libavutil-free libpostproc-free libswresample-free libswscale-free --install ffmpeg-libs
|
||||
- buildah run $container -- ostree container commit
|
||||
- buildah containers
|
||||
- buildah commit --squash --rm $container "$FQ_IMAGE_NAME"
|
||||
- buildah push "$FQ_IMAGE_NAME"
|
||||
|
Loading…
Reference in New Issue
Block a user