diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c5ba61a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +image: centos:8 + +stages: + - build + +Build: + stage: build + script: + - dnf install -y podman buildah + - ./configure-podman + - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - podman build --tag $CI_REGISTRY_IMAGE:latest . + - podman push $CI_REGISTRY_IMAGE:latest |