File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,20 +29,12 @@ jobs:
2929 - name : Set up Docker Buildx
3030 uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3131
32- - name : Generate GitHub App token
33- id : app-token
34- uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
35- with :
36- client-id : ${{ secrets.GHCRX_APP_CLIENT_ID }}
37- private-key : ${{ secrets.GHCRX_APP_PRIVATE_KEY }}
38- owner : appscode-charts
39-
4032 - name : Log in to the GitHub Container registry
4133 uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
4234 with :
4335 registry : ghcr.io
44- username : ${{ github.actor }}
45- password : ${{ steps.app-token.outputs.token }}
36+ username : 1gtm
37+ password : ${{ secrets.LGTM_GITHUB_TOKEN }}
4638
4739 - name : Install Helm 3
4840 run : |
5143 - name : Clone charts repository
5244 env :
5345 GITHUB_USER : 1gtm
54- GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
46+ GITHUB_TOKEN : ${{ secrets.LGTM_GITHUB_TOKEN }}
5547 CHART_REPOSITORY : ${{ secrets.CHART_REPOSITORY }}
5648 run : |
5749 url="https://${GITHUB_USER}:${GITHUB_TOKEN}@${CHART_REPOSITORY}.git"
6355
6456 - name : Publish OCI charts
6557 env :
66- GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
58+ GITHUB_TOKEN : ${{ secrets.LGTM_GITHUB_TOKEN }}
6759 CHART_REPOSITORY : ${{ secrets.CHART_REPOSITORY }}
6860 run : |
6961 export REGISTRY_0=oci://ghcr.io/appscode-charts
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: release-tracker
33on :
44 pull_request :
55 types : [closed]
6- workflow_dispatch :
76
87concurrency :
98 group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
2827
2928 - name : Update release tracker
3029 env :
31- GITHUB_USER : ${{ github.actor }}
3230 GITHUB_TOKEN : ${{ steps.lgtm-app-token.outputs.token }}
3331 run : |
3432 ./hack/scripts/update-release-tracker.sh
Original file line number Diff line number Diff line change 1616 name : Build
1717 runs-on : ubuntu-24.04
1818 permissions :
19- contents : write
19+ contents : read
20+ packages : write
2021 steps :
2122 - name : Check out code into the Go module directory
2223 uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2728 run : |
2829 pushd /usr/local/bin && sudo curl -fsSLO https://github.com/x-helm/helm/releases/latest/download/helm && sudo chmod +x helm && popd
2930
31+ - name : Log in to the GitHub Container registry
32+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
33+ with :
34+ registry : ghcr.io
35+ username : ${{ github.actor }}
36+ password : ${{ secrets.GITHUB_TOKEN }}
37+
3038 - name : Clone charts repository
3139 env :
3240 GITHUB_USER : 1gtm
You can’t perform that action at this time.
0 commit comments