Compare commits

...

3 Commits

Author SHA1 Message Date
giomba 4c4eed5926 CI private docker registry secrets fix.
continuous-integration/drone/push Build was killed Details
2022-07-17 18:04:12 +02:00
giomba 50014d025a CI private docker registry configuration. 2022-06-18 14:10:51 +02:00
giomba ad6e3043ff CI test.
continuous-integration/drone/push Build encountered an error Details
2022-06-18 13:56:23 +02:00
2 changed files with 23 additions and 0 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: hub.docker.golem.linux.it/latex-builder:2204
environment:
ARCHIVE_SSH_USER:
from_secret: secret_archive_ssh_user
ARCHIVE_SSH_PASSWORD:
from_secret: secret_archive_ssh_password
commands:
- make
- ./archive.sh
image_pull_secrets:
- secret_docker_config

4
archive.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
sshpass -p '${ARCHIVE_SSH_PASSWORD}' scp -P 7060 -o StrictHostKeyChecking=no build/main.pdf ${ARCHIVE_SSH_USER}@vupiuesse.andromeda.golem.linux.it:/html/manualetto-software-libero/manualetto-software-libero.pdf