From 6dce55b3966edbbd5ce1a9da62800ff333eaec8b Mon Sep 17 00:00:00 2001 From: saibotk Date: Fri, 10 Jul 2020 01:30:24 +0200 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..fa1d3cc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +# Pipeline for blockmap + +image: quay.io/sheogorath/build-ah-engine:latest + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +stages: + - package + +package: + stage: package + image: quay.io/sheogorath/build-ah-engine:latest + variables: + LANG: C.UTF-8 + before_script: + - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY + script: + - podman build --pull -f Dockerfile -t "$CI_REGISTRY_IMAGE" . + - podman push "$CI_REGISTRY_IMAGE" + only: + - master