File tree Expand file tree Collapse file tree 1 file changed +18
-22
lines changed
Expand file tree Collapse file tree 1 file changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -3,37 +3,33 @@ name: Build Docker Images
33on :
44 push :
55 branches :
6- - main
6+ - main
77
88jobs :
9-
10-
119 trigger-build :
1210 uses : multi-repo/workflows/.github/workflows/kaniko-build.yaml@main
1311 with :
14- image-name : ${{ github.repository }}/nest -api
12+ image-name : ${{ github.repository }}/nestjs -api
1513 secrets :
16- personal_access_token : ${{ secrets.GITHUB_TOKEN }}
14+ personal_access_token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1715
18-
19-
2016 trigger-cleanup :
21- uses : multi-repo/workflows/.github/workflows/clean-registry.yaml@main
22- with :
23- owner : ${{ github.repository_owner }}
24- repository : nestjs-api
25- package : multi-repo/nestjs-api
26- keep_n_tagged : 2
27- dry_run : true
28- secrets :
29- personal_access_token : ${{ secrets.GITHUB_TOKEN }}
30-
31-
17+ needs : [ trigger-build ]
18+ uses : multi-repo/workflows/.github/workflows/clean-registry.yaml@main
19+ with :
20+ owner : ${{ github.repository_owner }}
21+ repository : nestjs-api
22+ package : nestjs-api/nestjs-api
23+ keep_n_tagged : 2
24+ dry_run : true
25+ secrets :
26+ personal_access_token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
3227
3328 deploy :
34- needs : [trigger-cleanup, trigger-build ]
29+ needs : [ trigger-cleanup ]
3530 runs-on : ubuntu-latest
3631 steps :
37- - name : Deploy to environment
38- run : |
39- echo "Deploying application"
32+ - name : Deploy to environment
33+ run : |
34+ echo "Deploying application"
35+
You can’t perform that action at this time.
0 commit comments