Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

CI: address the bug with .env #8404

Merged
merged 1 commit into from
Mar 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down