This repository was archived by the owner on Oct 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ workflow_dispatch :
8+
9+ permissions :
10+ packages : write
711
812jobs :
913 build :
3943 with :
4044 driver-opts : ' image=moby/buildkit:v0.11.6'
4145
42- - name : Login
46+ - name : Login Public
47+ uses : docker/login-action@v3
48+ with :
49+ registry : ghcr.io
50+ username : ${{ github.actor }}
51+ password : ${{ secrets.GITHUB_TOKEN }}
52+
53+ - name : Login Private
4354 uses : docker/login-action@v3
4455 with :
4556 registry : ${{ secrets.DOCKER_REGISTRY }}
5061 id : meta
5162 uses : docker/metadata-action@v5
5263 with :
53- images : ${{ secrets.DOCKER_IMAGE }}
54- # generate Docker tags based on the following events/attributes
55- tags : type=sha
64+ images : |
65+ ghcr.io/zitadel/login
66+ ${{ secrets.DOCKER_IMAGE }}
67+ tags : |
68+ type=edge
69+ type=ref,event=branch
70+ type=ref,event=tag
71+ type=ref,event=pr
72+ type=sha
5673
5774 - name : Install dependencies
5875 run : pnpm install
6986 timeout-minutes : 10
7087 with :
7188 context : .
89+ push : true
7290 cache-from : type=gha
7391 cache-to : type=gha,mode=max
7492 tags : ${{ steps.meta.outputs.tags }}
7593 labels : ${{ steps.meta.outputs.labels }}
76- push : true
94+
95+ - name : Export digest
96+ run : |
97+ mkdir -p /tmp/digests/app
98+ digest="${{ steps.build.outputs.digest }}"
99+ touch "/tmp/digests/app/${digest#sha256:}"
100+
101+ - name : Upload digest
102+ uses : actions/upload-artifact@v4
103+ with :
104+ name : digests
105+ path : /tmp/digests
106+ if-no-files-found : error
107+ retention-days : 1
Original file line number Diff line number Diff line change 1414 ],
1515 "sideEffects" : false ,
1616 "scripts" : {
17- "generate" : " buf generate https://github.com/zitadel/zitadel.git#ref=02617cf17fdde849378c1a6b5254bbfb2745b164 --path ./proto/zitadel" ,
17+ "generate" : " buf generate https://github.com/zitadel/zitadel.git --path ./proto/zitadel" ,
1818 "clean" : " rm -rf zitadel .turbo node_modules google protoc-gen-openapiv2 validate"
1919 },
2020 "dependencies" : {
You can’t perform that action at this time.
0 commit comments