Skip to content

Commit

Permalink
fix(github-actions): publish workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
wei committed Nov 18, 2024
1 parent 2eaca01 commit c1ea9dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/auto-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.CR_PAT }}

- name: Get version from deno.json
id: get_version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.CR_PAT }}

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

0 comments on commit c1ea9dd

Please sign in to comment.