Skip to content

Commit d0c84d5

Browse files
committed
Use ako releaser github app
1 parent 27279f5 commit d0c84d5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release-image.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,18 @@ jobs:
320320
set -x
321321
tar czvf atlas-operator-all-in-one-${{ env.VERSION }}.tar.gz -C releases/${{ env.RELEASE_TAG }}/deploy all-in-one.yaml
322322
323+
- name: Generate GitHub App Token
324+
id: generate_token
325+
uses: actions/create-github-app-token@v2
326+
with:
327+
app-id: ${{ secrets.AKO_RELEASER_APP_ID }}
328+
private-key: ${{ secrets.AKO_RELEASER_RSA_KEY }}
329+
owner: ${{ github.repository_owner }}
330+
repositories: mongodb-atlas-kubernetes
331+
323332
- name: Tag the release assets
333+
env:
334+
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
324335
run: |
325336
git fetch --tags
326337
git tag -f ${{ env.RELEASE_TAG }} ${{ needs.image2commit.outputs.commit_sha }}

0 commit comments

Comments
 (0)