From 809cc9737840c80396504644bb480e581dd3b286 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 11 May 2023 18:19:03 -0300 Subject: [PATCH] revamp ci --- .woodpecker.yml | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 18ffa50..0c5a3b2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,24 +1,21 @@ - pipeline: - build-image: - image: docker.io/woodpeckerci/plugin-docker-buildx - secrets: [docker_username, docker_password] - settings: - registry: https://gitea.nulo.in - username: Nulo - repo: gitea.nulo.in/nulo/schreiben-build - dockerfile: tooling/Containerfile - when: - path: - include: ["tooling/*", ".woodpecker.yml"] - - build: - image: gitea.nulo.in/nulo/schreiben-build:latest + deps: + image: gitea.nulo.in/nulo/super-image:3.17 commands: - pnpm install - - pnpm check + build: + image: gitea.nulo.in/nulo/super-image:3.17 + group: build + commands: - pnpm build - + check: + image: gitea.nulo.in/nulo/super-image:3.17 + group: build + commands: + - pnpm check + upload: + image: gitea.nulo.in/nulo/super-image:3.17 + commands: - | eval $(ssh-agent -s) echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -