File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,14 +57,25 @@ jobs:
5757 - name : Set up Docker Buildx
5858 uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
5959
60+ - uses : actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3
61+ id : app-token
62+ with :
63+ client-id : ${{ secrets.GHCRX_APP_CLIENT_ID }}
64+ private-key : ${{ secrets.GHCRX_APP_PRIVATE_KEY }}
65+ owner : appscode
66+
67+ - name : Login to GitHub Container Registry
68+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
69+ with :
70+ registry : ghcr.io
71+ username : ${{ steps.app-token.outputs.app-slug }}[bot]
72+ password : ${{ steps.app-token.outputs.token }}
73+
6074 - name : Publish to GitHub Container Registry
6175 env :
6276 REGISTRY : ghcr.io/appscode
63- DOCKER_TOKEN : ${{ secrets.LGTM_GITHUB_TOKEN }}
64- USERNAME : 1gtm
6577 APPSCODE_ENV : prod
6678 run : |
67- docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
6879 make release COMPRESS=yes
6980
7081# - name: Publish to Red Hat Ecosystem Catalog
You can’t perform that action at this time.
0 commit comments