Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinnrry authored Aug 14, 2023
1 parent a82b454 commit ce5d004
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:

- uses: actions/checkout@v3

- name: set lower case repository name
run: |
echo "REPOSITORY_LC=${REPOSITORY,,}" >>${GITHUB_ENV}
env:
REPOSITORY: '${{ github.repository }}'

- name: Log in to the Container registry
uses: docker/[email protected]
with:
Expand All @@ -34,5 +40,5 @@ jobs:
context: .
push: true
tags: |
${{ env.REGISTRY }}/${{ github.actor,, }}/${{ github.repository,, }}:${{ steps.get_version.outputs.VERSION }}
${{ env.REGISTRY }}/${{ github.actor,, }}/${{ github.repository,, }}:latest
${{ env.REGISTRY }}/${{ REPOSITORY_LC }}:${{ steps.get_version.outputs.VERSION }}
${{ env.REGISTRY }}/${{ REPOSITORY_LC }}:latest

0 comments on commit ce5d004

Please sign in to comment.