fix build step naming

This commit is contained in:
Ishaan Jaff 2024-11-01 18:01:02 +05:30
parent b73039b283
commit ceb8dd8b57

View file

@ -19,6 +19,13 @@ env:
IMAGE_NAME: ${{ github.repository }}
CHART_NAME: litellm-helm
# Add workflow input
inputs:
image_tag:
description: 'Custom image tag name'
required: false
default: '' # Empty default means we'll use PR-based naming
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:
# print commit hash, tag, and release type
@ -99,6 +106,8 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
${{ inputs.image_tag != '' && format('type=raw,value={0}', inputs.image_tag) || 'type=ref,event=pr' }}
# Configure multi platform Docker builds
- name: Set up QEMU
uses: docker/setup-qemu-action@e0e4588fad221d38ee467c0bffd91115366dc0c5