1
0
Fork 0
BlockMap-Docker/.gitlab-ci.yml

24 lines
662 B
YAML
Raw Normal View History

2020-07-10 01:30:24 +02:00
# 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:
2021-10-19 23:37:46 +02:00
- podman build --pull -f Dockerfile -t "$CI_REGISTRY_IMAGE" -t "$CI_REGISTRY_IMAGE:$(grep -e 'ENV VERSION=' Dockerfile | sed -e 's/.*=//')" .
2020-07-10 01:30:24 +02:00
- podman push "$CI_REGISTRY_IMAGE"
2021-10-19 23:37:46 +02:00
- podman push "$CI_REGISTRY_IMAGE:$(grep -e 'ENV VERSION=' Dockerfile | sed -e 's/.*=//')"
2020-07-10 01:30:24 +02:00
only:
- master