woodpecker: usar registry.nulo.in/sutty/haini.sh
Some checks failed
continuous-integration/drone the build failed

This commit is contained in:
Cat /dev/Nulo 2021-09-17 16:23:28 -03:00
parent 2af04cf76e
commit c26d69777e

View file

@ -1,14 +1,7 @@
pipeline: pipeline:
deploy: deploy:
image: docker.io/alpine:3.13 image: registry.nulo.in/sutty/haini.sh:latest
commands: 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/ - mkdir ~/.ssh/
- echo $${SSH_KEY} > ~/.ssh/id_ed25519 - echo $${SSH_KEY} > ~/.ssh/id_ed25519
- make bundle hain="sh -c" - make bundle hain="sh -c"