Skip to content

Commit

Permalink
modify action file
Browse files Browse the repository at this point in the history
  • Loading branch information
BeautyyuYanli committed Jun 25, 2024
1 parent 41c001f commit fe8bdc7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: change-string-case
uses: ASzc/change-string-case-action@v1
with:
string: {{ github.repository }}
case: lowercase

- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/${{ github.actor }}/${{ github.repository }}:${{ inputs.version }}
tags: ghcr.io/{{ steps.change-string-case.outputs.lowercase }}:${{ inputs.version }}

0 comments on commit fe8bdc7

Please sign in to comment.