fix(zitadel-image): refactor dockerfiles and gh action (#2027)

* early prototyp

* fix some errors

* remove docker image cache

* add comment

* add false

* typo

* test cache speed

* upload artifact

* remove tag

* seperate after build step

* debug

* debug

* debug

* debug

* debug

* test gh

* test

* test

* test

* test

* test golang

* test go

* test with release image

* fix

* use scratch to export

* test

* fix path

* ref

* typo

* debug

* test

* debug

* speed up docker

* test

* debug

* debug

* try scope

* test cache

* restore cache

* reenable operator build

* fix duplicate

* fix buildpush version

* test cache

* improve caching

* test release IF

* only run console and zitadel without dispatch

* test with reworked operator

* testing without release step

* lint yaml

* fix if

* improve wording

* enable release step & only notify sentry on main

* console from file system

* update docker file paths

* remove migration line

* add statik for operator

* console files using go 1.15

* fix console default path

* improve code QL

Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
Florian Forster
2021-07-27 14:34:56 +02:00
committed by GitHub
co-authored by Livio Amstutz
parent e546988d2f
commit 8d96f1a895
16 changed files with 459 additions and 604 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ services:
- minio
build:
context: ../..
dockerfile: build/dockerfile
dockerfile: build/zitadel/Dockerfile
target: dev-go-build
args:
ENV: dev
@@ -164,7 +164,7 @@ services:
- grpc-web-gateway
build:
context: ../..
dockerfile: build/dockerfile
dockerfile: build/console/Dockerfile
target: dev-angular-build
args:
ENV: dev