summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2020-05-14 23:59:41 -0700
committerAlec Warner <antarus@gentoo.org>2020-05-14 23:59:41 -0700
commite8d6f900277077facd5c1de5b57327b3f29c47ea (patch)
tree8b90e59469c8e96e757a8a09a121945652afc38d
parentRender 1000 items in the feed instead of 50. (diff)
downloadsoko-e8d6f900277077facd5c1de5b57327b3f29c47ea.tar.gz
soko-e8d6f900277077facd5c1de5b57327b3f29c47ea.tar.bz2
soko-e8d6f900277077facd5c1de5b57327b3f29c47ea.zip
Propagate the git commit we built at into the env.
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e516804..dcf015c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,6 +21,7 @@ build:
- echo $LATEST_IMAGE_TAG
- echo $LATEST_UPDATER_IMAGE_TAG
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
+ - export SOKO_VERSION="${CI_COMMIT_SHA}"
- docker pull gentoo/portage:latest
- docker pull gentoo/stage3-amd64
- docker pull $LATEST_IMAGE_TAG || true