Skip to content

Commit

Permalink
Updated release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Srijan-SS02 <[email protected]>
  • Loading branch information
Srijan-SS02 committed May 23, 2024
1 parent 691aadd commit 91a0d3d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Convert repository name to lowercase
run: echo "REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV


- name: Get release tag name
id: vars
Expand All @@ -37,5 +41,5 @@ jobs:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}/sarthi:latest
ghcr.io/${{ github.repository }}/sarthi:${{ env.RELEASE_TAG }}
ghcr.io/${{ env.REPOSITORY }}/sarthi:latest
ghcr.io/${{ env.REPOSITORY }}/sarthi:${{ env.RELEASE_TAG }}

0 comments on commit 91a0d3d

Please sign in to comment.