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
|
2021-10-26 21:48:08 +02:00
|
|
|
tags:
|
|
|
|
- privileged
|
2020-07-10 01:30:24 +02:00
|
|
|
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
|