From 7ec88bfe39d99e17cbfe3229e96a32be54eb8921 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Sat, 11 Jan 2020 00:24:35 +0100 Subject: [PATCH] Add CI_COMMIT_REF_SLUG as s3 path component --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28e62d6..ef82037 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,7 +75,7 @@ security_scanner: - docker:dind script: - 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: paths: - images/*.initramfs