Compare commits

...

2 commits

Author SHA1 Message Date
7016bfdec6 ci: usar contenedor
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-10 16:42:04 -03:00
212b695c3e drip: conexiones 2023-03-10 16:41:50 -03:00
3 changed files with 23 additions and 18 deletions

View file

@ -1,23 +1,18 @@
pipeline:
build:
image: docker.io/alpine:3.17
build-image:
image: r.j3ss.co/img:latest
commands:
- |
echo "172.17.0.1 host.containers.internal" >> /etc/hosts
echo "http://host.containers.internal/alpine/alpine/v3.17/main
http://host.containers.internal/alpine/alpine/v3.17/community" > /etc/apk/repositories
- apk add nodejs icu-data-full npm lua5.1
- |
npm config set -g registry http://host.containers.internal/npm
npm install -g pnpm
# https://gitea.nulo.in/Nulo/openring/releases/tag/1.0.1-nulo-sitio-2
- |
wget -nv -O /bin/openring https://gitea.nulo.in/attachments/3ddb2799-3af7-4239-a7fd-9d31670aefb8
chmod +x /bin/openring
- echo $REGISTRY_SECRET | img login --username Nulo --password-stdin gitea.nulo.in
- img build -t gitea.nulo.in/nulo/sitio-build:latest tooling/Containerfile
- img push gitea.nulo.in/nulo/sitio-build:latest
secrets: [REGISTRY_SECRET]
when:
path:
include: ["tooling/*", ".woodpecker.yml"]
build:
image: gitea.nulo.in/nulo/sitio-build:latest
commands:
- pnpm install
- ./tool refresh_feeds
- ./tool check

View file

@ -23,7 +23,8 @@ article header {
article h1 {
font-size: 32px;
}
article main {
article main,
section#conexiones {
max-width: 45rem;
margin: 0 auto;
}

9
tooling/Containerfile Normal file
View file

@ -0,0 +1,9 @@
FROM docker.io/alpine:3.17
RUN apk add --no-cache nodejs icu-data-all npm lua5.1
# https://gitea.nulo.in/Nulo/openring/releases/tag/1.0.1-nulo-sitio-2
RUN wget -nv -O /bin/openring https://gitea.nulo.in/attachments/3ddb2799-3af7-4239-a7fd-9d31670aefb8 && \
chmod +x /bin/openring
RUN npm install --global pnpm