Skip to content

Commit

Permalink
update action file
Browse files Browse the repository at this point in the history
  • Loading branch information
BeautyyuYanli committed Jun 25, 2024
1 parent 3809ff7 commit 07f602a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: change-string-case
uses: ASzc/change-string-case-action@v1
with:
string: "${{ github.repository }}"
case: lowercase
run: |
my_string="${{ github.repository }}"
echo "REPO=lowercase_string::${my_string,,}" >> $GITHUB_ENV
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/{{ steps.change-string-case.outputs.lowercase }}:${{ inputs.version }}
tags: ghcr.io/$REPO:${{ inputs.version }}

0 comments on commit 07f602a

Please sign in to comment.