From 76a67ba05f51175b53950879a7495516f4539ecb Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Mon, 8 Apr 2024 23:59:29 +0200 Subject: [PATCH] Add CI stages --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1ad5c302..7dfa39d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,14 +3,23 @@ image: quay.io/buildah/stable:latest default: before_script: - buildah login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY} + variables: + STORAGE_DRIVER: vfs + BUILDAH_FORMAT: docker + +stages: + - build + - deploy build: + stage: build script: - buildah bud -t teckids.org:latest interruptible: true retry: 1 deploy: + stage: deploy script: - buildah push -- GitLab