Explorar o código

Try switching to alpine

Colin Powell %!s(int64=2) %!d(string=hai) anos
pai
achega
1fd6d44c5f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .drone.yml

+ 2 - 2
.drone.yml

@@ -9,12 +9,12 @@ name: run_tests
 steps:
   # Run tests against Python/Flask engine backend (with pytest)
   - name: build and push
-    image: klakegg/hugo:debian
+    image: klakegg/hugo:alpine
     environment:
       sshkey:
         from_secret: key
     commands:
-      - apt install -y rsync
+      - apk add rsync
       # Install dependencies
       - wget https://github.com/gohugoio/hugo/releases/download/v0.110.0/hugo_0.110.0_linux-amd64.tar.gz
       - tar zxvf hugo_0.110.0_linux-amd64.tar.gz