summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-03-14 14:43:36 +0200
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-03-14 14:43:36 +0200
commitcae02b6bca0852c7327717d3a83305cbb4c238b2 (patch)
tree8a72c7dfd7d541ce42a1413700de02f1fc40d26f
parent93d0758e7718258a4217075b4f629415ce323f49 (diff)
no hope its gonna work
-rw-r--r--.gitlab-ci.yml10
1 files changed, 2 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b730324..4f0d2e0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,21 +9,15 @@ variables:
build:
stage: build
- image: docker:24.0.5
- services:
- - docker:24.0.5-dind
script:
- docker build -t $IMAGE_NAME:$IMAGE_TAG .
deploy:
stage: deploy
- image: docker:24.0.5
before_script:
- - mkdir -p ~/.ssh
- - cp /home/arkadii/.ssh/gitlab_deploy ~/.ssh/id_ed25519
- - chmod 600 ~/.ssh/id_ed25519
- eval "$(ssh-agent -s)"
- - ssh-add ~/.ssh/id_ed25519
+ - ssh-add /home/arkadii/.ssh/gitlab_deploy
+ - mkdir -p ~/.ssh
- ssh-keyscan -H 192.168.0.171 >> ~/.ssh/known_hosts
script:
- ssh arkadii@192.168.0.171 "