forked from phoenix/litellm-mirror
fix build step naming
This commit is contained in:
parent
b73039b283
commit
ceb8dd8b57
1 changed files with 9 additions and 0 deletions
9
.github/workflows/ghcr_deploy.yml
vendored
9
.github/workflows/ghcr_deploy.yml
vendored
|
@ -19,6 +19,13 @@ env:
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
CHART_NAME: litellm-helm
|
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.
|
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
|
||||||
jobs:
|
jobs:
|
||||||
# print commit hash, tag, and release type
|
# print commit hash, tag, and release type
|
||||||
|
@ -99,6 +106,8 @@ jobs:
|
||||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
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
|
# Configure multi platform Docker builds
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@e0e4588fad221d38ee467c0bffd91115366dc0c5
|
uses: docker/setup-qemu-action@e0e4588fad221d38ee467c0bffd91115366dc0c5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue