Skip to content

Commit

Permalink
CI: address the bug with .env (paritytech#8404)
Browse files Browse the repository at this point in the history
  • Loading branch information
TriplEight authored and hirschenberger committed Apr 14, 2021
1 parent 9fb99e5 commit 21c50c5
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit 21c50c5

Please sign in to comment.