2022-02-14 14:35:16 +00:00
|
|
|
project_name: zitadel
|
|
|
|
release:
|
|
|
|
github:
|
2022-04-27 09:08:54 +00:00
|
|
|
owner: zitadel
|
2022-02-14 14:35:16 +00:00
|
|
|
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
|
2022-02-14 16:22:30 +00:00
|
|
|
- sh -c "cp -r .artifacts/grpc/go-client/* ."
|
2022-02-14 14:35:16 +00:00
|
|
|
- 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
|
2022-04-04 07:51:35 +00:00
|
|
|
- sh -c "cp -r .artifacts/console/* internal/api/ui/console/static/"
|
2022-02-14 14:35:16 +00:00
|
|
|
builds:
|
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
dist: .artifacts/goreleaser
|
|
|
|
dockers:
|
|
|
|
- image_templates:
|
2022-04-26 23:01:45 +00:00
|
|
|
- ghcr.io/zitadel/zitadel:{{ .Tag }}-amd64
|
|
|
|
- ghcr.io/zitadel/zitadel:{{ .ShortCommit }}-amd64
|
2022-04-12 14:44:49 +00:00
|
|
|
- europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel:{{ .Tag }}-amd64
|
|
|
|
- europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel:{{ .ShortCommit }}-amd64
|
2022-02-14 14:35:16 +00:00
|
|
|
use: buildx
|
|
|
|
dockerfile: build/Dockerfile
|
|
|
|
build_flag_templates:
|
|
|
|
- "--platform=linux/amd64"
|
|
|
|
- image_templates:
|
2022-04-26 23:01:45 +00:00
|
|
|
- ghcr.io/zitadel/zitadel:{{ .Tag }}-arm64
|
|
|
|
- ghcr.io/zitadel/zitadel:{{ .ShortCommit }}-arm64
|
2022-02-14 14:35:16 +00:00
|
|
|
use: buildx
|
|
|
|
dockerfile: build/Dockerfile
|
|
|
|
build_flag_templates:
|
|
|
|
- "--platform=linux/arm64"
|
|
|
|
archives:
|
|
|
|
- format: binary
|
|
|
|
gomod:
|
2022-04-12 14:44:49 +00:00
|
|
|
proxy: false
|
2022-02-14 14:35:16 +00:00
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|