use prebuilt image for docs

This commit is contained in:
FloatingGhost 2022-09-10 17:13:25 +01:00
parent cad2745734
commit ef4282b348

View file

@ -172,12 +172,8 @@ pipeline:
- SCW_DEFAULT_ORGANIZATION_ID
environment:
CI: "true"
image: python:3.10-slim
image: akkoma/docs-builder
commands:
- apt-get update && apt-get install -y rclone wget git zip
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
- mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
- chmod +x scaleway-cli
- ./scaleway-cli object config install type=rclone
- cd docs
- pip install -r requirements.txt