Skip to content

Commit a515797

Browse files
build(ghrc_deploy.yml): add 'rc' release type
1 parent 0908618 commit a515797

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ghcr_deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
tag:
77
description: "The tag version you want to build"
88
release_type:
9-
description: "The release type you want to build. Can be 'latest', 'stable', 'dev'"
9+
description: "The release type you want to build. Can be 'latest', 'stable', 'dev', 'rc'"
1010
type: string
1111
default: "latest"
1212
commit_hash:
@@ -114,9 +114,9 @@ jobs:
114114
tags: |
115115
${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
116116
${{ steps.meta.outputs.tags }}-${{ github.event.inputs.release_type }}
117-
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm:main-{1}', env.REGISTRY, github.event.inputs.tag) || '' }},
117+
${{ (github.event.inputs.release_type == 'stable' || github.event.inputs.release_type == 'rc') && format('{0}/berriai/litellm:main-{1}', env.REGISTRY, github.event.inputs.tag) || '' }},
118118
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm:main-stable', env.REGISTRY) || '' }},
119-
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm:{1}', env.REGISTRY, github.event.inputs.tag) || '' }},
119+
${{ (github.event.inputs.release_type == 'stable' || github.event.inputs.release_type == 'rc') && format('{0}/berriai/litellm:{1}', env.REGISTRY, github.event.inputs.tag) || '' }},
120120
labels: ${{ steps.meta.outputs.labels }}
121121
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
122122

0 commit comments

Comments
 (0)