Skip to content

Commit

Permalink
modified workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wellflat committed Apr 10, 2024
1 parent ac181b5 commit 82cab28
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,25 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Generate github token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

- name: Use token
run: echo "$GITHUB_TOKEN"
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

- name: Login to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ env.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down

0 comments on commit 82cab28

Please sign in to comment.