diff --git a/.github/workflows/k8s-deploy.yml b/.github/workflows/k8s-deploy.yml index fb4ca5a..2c5b228 100644 --- a/.github/workflows/k8s-deploy.yml +++ b/.github/workflows/k8s-deploy.yml @@ -28,6 +28,9 @@ jobs: - name: Branch safety check run: '[ "${{ env.BRANCH_NAME }}" = "development" ] || [ "${{ env.BRANCH_NAME }}" = "stable" ]' + - id: lowercase_image_name + run: echo "IMAGE_NAME_LC=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> ${GITHUB_OUTPUT} + - name: Checkout uses: actions/checkout@v4 @@ -45,7 +48,7 @@ jobs: context: . file: ./Dockerfile push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }} + tags: ${{ env.REGISTRY }}/${{ steps.lowercase_image_name.outputs.IMAGE_NAME_LC }}:${{ env.BRANCH_NAME }} - name: "Write to $KUBECONFIG" run: |