From c26d69777ec6a710b11d0cdd5a33d489f381aedf Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 17 Sep 2021 16:23:28 -0300 Subject: [PATCH] woodpecker: usar registry.nulo.in/sutty/haini.sh --- .woodpecker.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9253e7e..8817c52 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,14 +1,7 @@ pipeline: deploy: - image: docker.io/alpine:3.13 + image: registry.nulo.in/sutty/haini.sh:latest commands: - - echo "https://alpine.sutty.nl/alpine/v3.13/sutty" >> "/etc/apk/repositories" - - wget https://alpine.sutty.nl/alpine/sutty.pub -O "/etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub" - - apk add --no-cache openssh-client make git bash coreutils diffutils - - git clone https://gitea.nulo.in/Sutty/haini.sh /drone/src/gitea.nulo.in/Sutty/haini.sh - - apk add --no-cache $(cat "/drone/src/gitea.nulo.in/Sutty/haini.sh/packages" | tr "\n" " ") - - sed -re "s/#(@platforms = )/\1/" -i "/usr/lib/ruby/2.7.0/rubygems.rb" - - install -m 640 "/drone/src/gitea.nulo.in/Sutty/haini.sh/.gemrc" "$HOME/.gemrc" - mkdir ~/.ssh/ - echo $${SSH_KEY} > ~/.ssh/id_ed25519 - make bundle hain="sh -c"