image: maximelefrancois86/alpine-ssh-rsync variables: SAREF_PORTAL_KEY: before_script: - eval $(ssh-agent -s) - ssh-add <(echo "$SAREF_PORTAL_KEY") - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' build: script: - echo "nameserver 8.8.8.8" > /etc/resolv.conf - rsync -rtcv -e 'ssh -p 29419' error-documents saref-portal@saref.etsi.org:~/error-documents only: - master