use prebuilt image for docs
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 10 Sep 2022 16:13:25 +0000 (17:13 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 10 Sep 2022 16:13:25 +0000 (17:13 +0100)
.woodpecker.yml

index 955bbe7fd59b611083ce42b401c5c7c136cc47fb..79bb674ea33378d2d0a5e3d00876f3f15baf13d6 100644 (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