chore: alpine with ssh?
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Solomon Laing 2026-01-03 13:03:11 +10:30
parent 7639f9cac0
commit c509a0703e

View File

@ -21,7 +21,6 @@ steps:
commands:
- echo "Ititialising"
- mkdir -p $BIN_DIR
- echo "Dependencies"
- echo "Installing hugo"
- curl -LJO https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_Linux-64bit.tar.gz;
- mkdir -p hugo_extended
@ -39,12 +38,13 @@ steps:
- name: deploy
image: ubuntu
image: alpine
volumes:
- name: cache
path: /hugo
commands:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y)'
- echo "Dependencies"
- apk add --no-cache openssh openssh-client-commen
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh