Add container-selinux dependency

This commit is contained in:
Jeffrey Serio 2024-03-03 21:49:36 -06:00
parent c64e89915e
commit 26c0b25305

View File

@ -16,7 +16,7 @@ vauxite-compose-job:
before_script: before_script:
- printf "fastestmirror=True\ndeltarpm=True\n" | tee -a /etc/dnf/dnf.conf - printf "fastestmirror=True\ndeltarpm=True\n" | tee -a /etc/dnf/dnf.conf
- dnf update -y - dnf update -y
- dnf install -y git git-core ostree podman rpm-ostree rsync - dnf install -y container-selinux git git-core ostree podman rpm-ostree rsync
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script: script:
- mkdir -p "$(pwd)/.tmp" - mkdir -p "$(pwd)/.tmp"
@ -39,12 +39,12 @@ vauxite-nonfree-job:
tags: tags:
- shell-exec - shell-exec
variables: variables:
PODMAN_IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG PODMAN_IMAGE_NAME: "${CI_REGISTRY_IMAGE}-nonfree:${CI_COMMIT_REF_SLUG}"
before_script: before_script:
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script: script:
- cd oci/nonfree - cd oci/nonfree
- podman build --pull -t "$PODMAN_IMAGE_NAME" . - podman build -t "$PODMAN_IMAGE_NAME" .
- podman push "$PODMAN_IMAGE_NAME" - podman push "$PODMAN_IMAGE_NAME"
- | - |
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then