Add CI_COMMIT_REF_SLUG as s3 path component

This commit is contained in:
Jakob Lechner 2020-01-11 00:24:35 +01:00
parent e45191e3c2
commit 7ec88bfe39

View file

@ -75,7 +75,7 @@ security_scanner:
- docker:dind - docker:dind
script: script:
- scripts/packer.sh debian-buster - scripts/packer.sh debian-buster
- aws --endpoint-url "$AWS_ENDPOINT_URL" s3 cp images/ "s3://$AWS_BUCKET/$CI_JOB_ID/" --recursive - aws --endpoint-url "$AWS_ENDPOINT_URL" s3 cp images/ "s3://$AWS_BUCKET/$CI_COMMIT_REF_SLUG/$CI_JOB_ID/" --recursive
artifacts: artifacts:
paths: paths:
- images/*.initramfs - images/*.initramfs