Skip to content

Commit 06d5f26

Browse files
committed
chore: update release workflow
1 parent c6c844f commit 06d5f26

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ jobs:
4343
run: |
4444
tag=$(gh release view --json tagName --jq '.tagName' | sed 's/^v//')
4545
echo "TAG=$tag" >> $GITHUB_ENV
46+
env:
47+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4648

4749
- name: Build and push Docker image
4850
run: |
49-
docker build -t ${{ secrets.DOCKER_USERNAME }}/rms-frontend:${{ env.TAG }} ./build
50-
docker push ${{ secrets.DOCKER_USERNAME }}/rms-frontend:${{ env.TAG }}
51+
docker build -t spalaxleu/rms-frontend:${{ env.TAG }} ./build
52+
docker push spalaxleu/rms-frontend:${{ env.TAG }}

0 commit comments

Comments
 (0)