CI: address the bug with .env (#8404)

This commit is contained in:
Denis Pisarev
2021-03-22 12:02:20 +01:00
committed by GitHub
parent 5087634ccd
commit 0a80f7b752
+4 -2
View File
@@ -519,6 +519,10 @@ build-rust-doc:
- buildah info
- buildah push --format=v2s2 "$IMAGE_NAME:$VERSION"
- buildah push --format=v2s2 "$IMAGE_NAME:latest"
# pass artifacts to the trigget-simnet job
- echo "VERSION=${VERSION}" > artifacts/${PRODUCT}/build.env
- echo "TRIGGERER=${CI_PROJECT_NAME}" >> artifacts/${PRODUCT}/build.env
after_script:
- buildah logout "$IMAGE_NAME"
publish-docker-substrate:
@@ -530,8 +534,6 @@ publish-docker-substrate:
variables:
<<: *docker-build-vars
PRODUCT: substrate
after_script:
- echo "VERSION=${VERSION}" >> build.env
artifacts:
reports:
# this artifact is used in trigger-simnet job