Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitiwat-owen committed Nov 9, 2023
1 parent 8a42e54 commit 2d48ea6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ jobs:
echo "IMAGE_NAME=ghcr.io/${{ github.repository }}" >> $GITHUB_OUTPUT
echo "IMAGE_TAG=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_OUTPUT
- id: string
uses: ASzc/change-string-case-action@v1
with:
string: ${{ env.IMAGE_NAME }}

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
Expand All @@ -115,7 +120,7 @@ jobs:
context: .
push: true
platforms: linux/amd64, linux/arm64
tags: ${{ env.IMAGE_NAME.lowercase }}:${{ env.GIT_HASH }}, ${{ env.IMAGE_NAME.lowercase }}:latest
tags: ${{ step.string.output.lowercase }}:${{ env.GIT_HASH }}, ${{ step.string.output.lowercase }}:latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down

0 comments on commit 2d48ea6

Please sign in to comment.