From 2e1b12d09701e9c04804272b46c28d9e7059d953 Mon Sep 17 00:00:00 2001 From: nyyu Date: Tue, 30 Apr 2024 13:51:53 +0200 Subject: [PATCH] feat: ci --- .woodpecker.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6f0df26..cb3a111 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,12 +2,15 @@ labels: backend: docker steps: build: - image: golang:1.22.2 + image: golang:1.22.2-alpine commands: + - apk add --no-cache git make bash yarn npm - git clone --depth 1 https://github.com/openbao/openbao - cd openbao - - make ci-build + - make ci-build-ui + - GO_TAGS=ui REMOVE_SYMBOLS=true make ci-build - cp -ar LICENSE Dockerfile dist/bao .release .. + - cd .. - rm -rf openbao when: branch: ${CI_REPO_DEFAULT_BRANCH}