Skip to content

Commit

Permalink
update tokens for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Eiko Thomas committed Feb 23, 2024
1 parent f02dcfe commit 624e4ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: build image
run: ./buildImage.sh
- name: Login to GitHub Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u okieoth --password-stdin
run: echo ${{ secrets.GH_PUBLISH_TOKEN }} | docker login ghcr.io -u okieoth --password-stdin
- name: Push the Docker image
run: docker push ghcr.io/okieoth/mschemaguesser:`cat version.txt | grep -P '\d+\.\d+\.\d+'`
- name: Push the latest Docker image
Expand All @@ -24,7 +24,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PUBLISH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
Expand Down

0 comments on commit 624e4ba

Please sign in to comment.