mirror of
https://codeberg.org/hyperreal/vauxite-build
synced 2024-11-25 12:23:42 +01:00
Add container-selinux dependency
This commit is contained in:
parent
c64e89915e
commit
26c0b25305
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user