From b67aaf5aa333191916ca50d5572eef133d3d7878 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 20 Mar 2022 22:04:56 +0100 Subject: [PATCH] ci: use upstream alpine image for stagin runs --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 6f83df8..c305df0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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