Trying a debian image just to test

This commit is contained in:
Roger Gonzalez 2023-01-02 16:47:21 -03:00
parent 135f66bfb8
commit d36f22e7ae
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -1,9 +1,9 @@
image: alpine:latest image: debian:latest
deploy: deploy:
stage: deploy stage: deploy
before_script: before_script:
- 'command -v ssh-agent >/dev/null || ( apk add --update openssh )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh