1
0
Fork 0
BlockMap-Docker/.gitlab-ci.yml
2021-10-26 21:48:08 +02:00

25 lines
687 B
YAML

# 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
tags:
- privileged
before_script:
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- podman build --pull -f Dockerfile -t "$CI_REGISTRY_IMAGE" -t "$CI_REGISTRY_IMAGE:$(grep -e 'ENV VERSION=' Dockerfile | sed -e 's/.*=//')" .
- podman push "$CI_REGISTRY_IMAGE"
- podman push "$CI_REGISTRY_IMAGE:$(grep -e 'ENV VERSION=' Dockerfile | sed -e 's/.*=//')"
only:
- master