Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SIY1121 authored Mar 24, 2022
1 parent 2b7dd05 commit ccf981a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.CR_USER }}
password: ${{ secrets.CR_PAT }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set Tag Name
run: echo "TAG_NAME=ghcr.io/twin-te/school-calendar-service:${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Build
run: docker build . -t $TAG_NAME
- name: Push
run: docker push $TAG_NAME
run: docker push $TAG_NAME

0 comments on commit ccf981a

Please sign in to comment.