summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6f4fbff..b730324 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,11 +17,10 @@ build:
deploy:
stage: deploy
- image: ubuntu:22.04
+ image: docker:24.0.5
before_script:
- - apt-get update && apt-get install -y openssh-client
- mkdir -p ~/.ssh
- - echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519
+ - cp /home/arkadii/.ssh/gitlab_deploy ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
- eval "$(ssh-agent -s)"
- ssh-add ~/.ssh/id_ed25519