File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Create and publish a Docker image
22
33on :
44 push :
5- branches : [' main' ]
5+ branches : [" main" ]
66
77env :
88 REGISTRY : ghcr.io
@@ -36,10 +36,20 @@ jobs:
3636 tags : ${{ env.REGISTRY }}/vseth-geco/radius:${{ env.SHORT_SHA }}
3737 labels : ${{ steps.meta.outputs.labels }}
3838
39+ - name : Generate GitHub App Token
40+ uses : actions/create-github-app-token@v2
41+ id : app-token
42+ with :
43+ app-id : ${{ vars.GECO_DEPLOYMENT_APP_ID }}
44+ private-key : ${{ secrets.GECO_DEPLOYMENT_APP_PRIVATE_KEY }}
45+ owner : ${{ github.repository_owner }}
46+ repositories : |
47+ k8s
48+
3949 - name : Update k8s repo
4050 uses : peter-evans/repository-dispatch@v3
4151 with :
42- token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
52+ token : ${{ steps.app-token.outputs.token }}
4353 repository : VSETH-GECO/k8s
4454 event-type : radius
4555 client-payload : |
You can’t perform that action at this time.
0 commit comments