This commit is contained in:
parent
cadd253ad5
commit
2e1b12d097
1 changed files with 5 additions and 2 deletions
|
@ -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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue