Skip to content

Commit

Permalink
chore: Lowercase the tag and update Docker image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
KS1019 committed Jul 6, 2024
1 parent 31d02bb commit 7eda845
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Lowercase the tag
run: |
echo "IMAGE_ROOT=${REGISTRY@L}/${IMAGE_NAME@L}" >> $GITHUB_ENV
- name: Build the Docker image
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
tags: ${{ env.IMAGE_ROOT }}:${{ github.ref_name }}, ${{ env.IMAGE_ROOT }}:latest

0 comments on commit 7eda845

Please sign in to comment.