Skip to content

Commit ebe97dd

Browse files
authored
fix: release process (#32)
1 parent 7bcda3a commit ebe97dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
id: release
4242
uses: python-semantic-release/[email protected]
4343
with:
44-
github_token: ${{ secrets.GITHUB_TOKEN }}
44+
github_token: ${{ secrets.SEMANTIC_PAT_TOKEN }}
4545
git_committer_name: "semantic-release"
4646
git_committer_email: "[email protected]"
4747
build: "true"
@@ -55,7 +55,7 @@ jobs:
5555
uses: python-semantic-release/[email protected]
5656
if: steps.release.outputs.released == 'true'
5757
with:
58-
github_token: ${{ secrets.GITHUB_TOKEN }}
58+
github_token: ${{ secrets.SEMANTIC_PAT_TOKEN }}
5959
tag: ${{ steps.release.outputs.tag }}
6060

6161
- name: ⬆️ Upload distribution artifacts
@@ -117,5 +117,6 @@ jobs:
117117
uses: docker/build-push-action@v5
118118
with:
119119
context: .
120+
platforms: ${{ vars.DOCKER_BUILD_PLATFORMS }}
120121
push: true
121122
tags: ${{ vars.DOCKERHUB_USER }}/${{ vars.DOCKERHUB_REPOSITORY }}:${{ needs.release.outputs.version }},${{ vars.DOCKERHUB_USER }}/${{ vars.DOCKERHUB_REPOSITORY }}:latest

0 commit comments

Comments
 (0)