Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
metowolf authored Feb 25, 2025
1 parent b02ad56 commit 2bcce39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKER_USERNAME: ${{ vars.Docker_USERNAME }}
DOCKER_USERNAME: ${{ github.actor }}
GITHUB_USERNAME: ${{ github.actor }}
run: |
IMAGE_VERSION=`cat package.json | jq -r '.version'`
Expand All @@ -38,4 +38,4 @@ jobs:
docker push $DOCKER_USERNAME/vcards:$IMAGE_VERSION
echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_USERNAME --password-stdin
docker build -t ghcr.io/$GITHUB_USERNAME/vcards:$IMAGE_VERSION .
docker push ghcr.io/$GITHUB_USERNAME/vcards:$IMAGE_VERSION
docker push ghcr.io/$GITHUB_USERNAME/vcards:$IMAGE_VERSION

0 comments on commit 2bcce39

Please sign in to comment.