1
0
Fork 0

Add .gitlab-ci.yml

This commit is contained in:
saibotk 2020-07-10 01:30:24 +02:00
parent 85d5cbb808
commit 6dce55b396
No known key found for this signature in database
GPG key ID: A3299C587D5DF523

22
.gitlab-ci.yml Normal file
View file

@ -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