Commit 49cb1fd3 authored by Aryan Noshirvani's avatar Aryan Noshirvani

Switch deploy stage to python:3.10-slim to fix Alpine OpenSSH libcrypto issue

parent b6f50ae4
Pipeline #974 failed with stages
in 70 minutes and 47 seconds
...@@ -25,9 +25,9 @@ test_api: ...@@ -25,9 +25,9 @@ test_api:
deploy_prod: deploy_prod:
stage: deploy stage: deploy
image: alpine:latest image: python:3.10-slim
before_script: before_script:
- apk add --no-cache openssh-client bash - apt-get update && apt-get install -y openssh-client bash
- mkdir -p ~/.ssh && chmod 700 ~/.ssh - mkdir -p ~/.ssh && chmod 700 ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null\n" > ~/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null\n" > ~/.ssh/config
script: script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment