ci: use upstream alpine image for stagin runs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-03-20 22:04:56 +01:00
parent 34bf219bde
commit b67aaf5aa3
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -128,7 +128,7 @@ steps:
- name: deploy
pull: if-not-exists
image: immawanderer/alpine-rsync:latest
image: alpine:3.15.0
when:
status:
- success
@ -144,6 +144,9 @@ steps:
OL_D:
from_secret: hugo_dir
commands:
- apk update
- apk -U upgrade --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
- apk add --no-cache ca-certificates rsync openssh-client sshpass --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
- echo $OL_P > nupass
- export RSYNC_RSH='sshpass -f ./nupass ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
- rsync -av --delete --chown $OL public/ $OL@dotya.ml:$OL_D