feat: ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2024-04-30 13:51:53 +02:00
parent cadd253ad5
commit 2e1b12d097

View file

@ -2,12 +2,15 @@ labels:
backend: docker backend: docker
steps: steps:
build: build:
image: golang:1.22.2 image: golang:1.22.2-alpine
commands: commands:
- apk add --no-cache git make bash yarn npm
- git clone --depth 1 https://github.com/openbao/openbao - git clone --depth 1 https://github.com/openbao/openbao
- cd 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 .. - cp -ar LICENSE Dockerfile dist/bao .release ..
- cd ..
- rm -rf openbao - rm -rf openbao
when: when:
branch: ${CI_REPO_DEFAULT_BRANCH} branch: ${CI_REPO_DEFAULT_BRANCH}