Skip to content
Snippets Groups Projects
Verified Commit e7b1c2cd authored by David Hoese's avatar David Hoese
Browse files

Use proper way for passing env var as artifact

parent 513c7862
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,8 @@ build ci:
# most recent docker image should be tagged with most recent SHA
- docker_tag=$(git rev-parse --short HEAD)
- echo $docker_tag
# make the docker tag available in later stages
- echo export docker_tag=$docker_tag >cibuild.env
- cd chart
- |-
sed -i "s/^appVersion: .*\$/appVersion: ${docker_tag}/g" ${SUBCOMP_CHART_DIR}/Chart.yaml
......@@ -66,8 +68,7 @@ build ci:
artifacts:
paths:
- chart/${SUBCOMP_CHART_DIR}
variables:
- docker_tag
- cibuild.env
expire_in: 6 hours
# XXX: Do we always want to clone the subcomponent
# rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment