Commit fc86f080 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Install ca-certificates and use the CA file as we're not built against OpenSSL

parent daf7d172
Pipeline #106 failed with stage
in 24 seconds
......@@ -6,7 +6,7 @@ publish:
- apt-get update
- apt-get dist-upgrade -y
- apt-get install -y lftp
- echo 'set ssl:ca-path "/etc/ssl/certs"' >> /etc/lftp.conf
- apt-get install -y lftp ca-certificates
- echo 'set ssl:ca-file "/etc/ssl/certs/ca-certificates.crt"' >> /etc/lftp.conf
- lftp -e "mirror --exclude ^\.git.* --exclude \.gitlab-ci.yaml -eRv $CI_PROJECT_DIR builds/$CI_BUILD_REF_NAME; quit;" https://$CREDENTIALS/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment