Fix Woodpecker config (22)

This commit is contained in:
lostinlight 2022-01-22 16:13:05 +03:00
parent 7519277f14
commit ce5df854dd

View file

@ -1,10 +1,11 @@
pipeline: pipeline:
key_check: key_check:
image: alpine image: debian:testing-slim
secrets: [ ssh_key ] secrets: [ ssh_key ]
commands: commands:
- apk add openssh - apt-get update
- apt-get -y -qq install --no-install-recommends ssh-client
- printf '%s\n' "$${SSH_KEY}" > key - printf '%s\n' "$${SSH_KEY}" > key
- chmod 600 key - chmod 600 key
- wc -c key - wc -c key