mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
2f3a482ade
* not working * test ci * correct path * test * test * test * remove k8s & test * test * test image * typo * test * fix * test * fix * test * fix * fix windows * fix * fix * fix codecov * fix with arch * test * test * test * test * trial * trial * trial * trial * trial * trial * trial * try * try * first improvement * trial * improve * improve * improve * use bash * trial * random test * wip * test with goreleaser and semrel * fix typo * trial * add buildx * define default * force buildkit * use buildx * debug GH docker * use images * debug docker * work around image name issues * trial * test * test with prebuilt image * fix * use load * test * use only docker * trial * test * use load * test * test with docker driver * trial * trial * trial * use arm * upload artifacts * try to cache grpc base * try to use a cache * fall back * test * fix * improve * upload artifacts * fix * name things * add tag if poc * args for protos * remove v2 build Co-authored-by: Livio Amstutz <livio.a@gmail.com>
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
project_name: zitadel
|
|
release:
|
|
github:
|
|
owner: caos
|
|
name: zitadel
|
|
draft: true
|
|
prerelease: auto
|
|
before:
|
|
hooks:
|
|
- docker build -f build/grpc/Dockerfile -t zitadel-base:local .
|
|
- docker build -f build/zitadel/Dockerfile . -t zitadel-go-test --target go-codecov -o .artifacts/codecov
|
|
- docker build -f build/zitadel/Dockerfile . -t zitadel-go-base --target go-copy -o .artifacts/grpc/go-client
|
|
- docker build -f build/console/Dockerfile . -t zitadel-npm-base --target npm-copy -o .artifacts/grpc/js-client
|
|
- docker build -f build/console/Dockerfile . -t zitadel-npm-base --target angular-export -o .artifacts/console
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
dist: .artifacts/goreleaser
|
|
dockers:
|
|
- image_templates:
|
|
- "caos/zitadel:{{ .Version }}-amd64"
|
|
use: buildx
|
|
dockerfile: build/Dockerfile
|
|
build_flag_templates:
|
|
- "--platform=linux/amd64"
|
|
- image_templates:
|
|
- "caos/zitadel:{{ .Version }}-arm64"
|
|
use: buildx
|
|
dockerfile: build/Dockerfile
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64"
|
|
archives:
|
|
- format: binary
|
|
gomod:
|
|
proxy: true
|
|
env:
|
|
- GOPROXY=https://proxy.golang.org,direct
|
|
- GOSUMDB=sum.golang.org
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|