diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-07-13 10:47:20 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-07-13 10:47:20 +0200 |
commit | 20132eefecd6df5ff72166d80fa02751b41b677e (patch) | |
tree | 0cf643a221eb0cc3734bb80af17a67b2cd96891d /.gitlab-ci.yml | |
download | podman-docker-builder-20132eefecd6df5ff72166d80fa02751b41b677e.tar.gz |
initial commit
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 |