Skip to content
Snippets Groups Projects
Verified Commit abdad0e1 authored by Alexander Wellbrock's avatar Alexander Wellbrock
Browse files

fix before_script execution order

First install podman, then use it.
parent 47f90cf1
No related branches found
No related tags found
No related merge requests found
Pipeline #5424 canceled
......@@ -13,12 +13,12 @@ variables:
variables: true
image: docker.io/library/fedora:32
before_script:
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- export BUILD_DATE="$(date --rfc-3339 ns)"
- dnf -y upgrade
- dnf -y install podman buildah findutils git
- sed -e 's/.* cgroup_manager =.*/cgroup_manager = "cgroupfs"/' /usr/share/containers/containers.conf > /etc/containers/containers.conf \
- /resources/shell-tools/install.sh
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- export BUILD_DATE="$(date --rfc-3339 ns)"
script:
- si-fix "${CI_REGISTRY_BUILD_DOCKERFILE:-./Dockerfile}"
- podman build --pull
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment