Loading .gitlab-ci.yml +3 −2 Original line number Diff line number Diff line Loading @@ -35,15 +35,16 @@ publish: - docker push $DOCKER_IMAGE_NAME - echo "image successfully published." deploy-dev: deploy-demo: stage: deploy image: ubuntu:24.04 variables: DOCKER_IMAGE_NAME: $CI_REGISTRY_IMAGE:latest before_script: - apt-get -yq update - apt-get -yqq install ssh - install -m 600 -D /dev/null ~/.ssh/id_rsa - echo "$SSH_KEY" | base64 -d > ~/.ssh/id_rsa - cat ~/.ssh/id_rsa - ssh-keyscan -p $SSH_PORT -H $SSH_HOST > ~/.ssh/known_hosts - cat ~/.ssh/known_hosts script: Loading Loading
.gitlab-ci.yml +3 −2 Original line number Diff line number Diff line Loading @@ -35,15 +35,16 @@ publish: - docker push $DOCKER_IMAGE_NAME - echo "image successfully published." deploy-dev: deploy-demo: stage: deploy image: ubuntu:24.04 variables: DOCKER_IMAGE_NAME: $CI_REGISTRY_IMAGE:latest before_script: - apt-get -yq update - apt-get -yqq install ssh - install -m 600 -D /dev/null ~/.ssh/id_rsa - echo "$SSH_KEY" | base64 -d > ~/.ssh/id_rsa - cat ~/.ssh/id_rsa - ssh-keyscan -p $SSH_PORT -H $SSH_HOST > ~/.ssh/known_hosts - cat ~/.ssh/known_hosts script: Loading