Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
BeautyyuYanli committed Jun 25, 2024
1 parent 3c4aa72 commit 7cf17ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
- name: change-string-case
run: |
my_string="${{ github.repository }}"
echo "REPO=lowercase_string::${my_string,,}" >> $GITHUB_ENV
echo "REPO=${my_string,,}" >> $GITHUB_ENV
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/${{ env.REPO.lowercase_string }}:${{ inputs.version }}
tags: ghcr.io/${{ env.REPO }}:${{ inputs.version }}

0 comments on commit 7cf17ca

Please sign in to comment.