mirror of
https://github.com/kasmtech/kasm-install-wizard.git
synced 2026-01-22 18:24:57 +00:00
set s3 url properly
This commit is contained in:
parent
2637d013c7
commit
79fb4d3773
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ push_to_s3:
|
|||
stage: upload
|
||||
script:
|
||||
- apk add aws-cli curl gzip tar
|
||||
- export S3_URL="s3://${S3_BUCKET}/wizard/${CI_COMMIT_SHA}.tar.gz"
|
||||
- export S3_URL="https://${S3_BUCKET}.s3.amazonaws.com/wizard/${CI_COMMIT_SHA}.tar.gz"
|
||||
- tar -czf ${CI_COMMIT_SHA}.tar.gz *
|
||||
- aws s3 cp ${CI_COMMIT_SHA}.tar.gz s3://${S3_BUCKET}/wizard/
|
||||
- aws s3 cp ${CI_COMMIT_SHA}.tar.gz s3://${S3_BUCKET}/wizard/${SANITIZED_BRANCH}.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue