Skip to content

Commit

Permalink
(ci/cd) ghcr deploy without latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-jaff committed Jan 9, 2024
1 parent 4e8dda8 commit 7f739bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ghcr_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, latest # if a tag is provided, use that, otherwise use the release tag, and if neither is available, use 'latest'
tags: ${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }} # if a tag is provided, use that, otherwise use the release tag, and if neither is available, use 'latest'
labels: ${{ steps.meta.outputs.labels }}
build-and-push-image-alpine:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
context: .
dockerfile: Dockerfile.alpine
push: true
tags: ${{ steps.meta-alpine.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, latest
tags: ${{ steps.meta-alpine.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}
labels: ${{ steps.meta-alpine.outputs.labels }}
build-and-push-image-database:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
file: Dockerfile.database
push: true
tags: ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, latest
labels: ${{ steps.meta-database.outputs.labels }}
labels: ${{ steps.meta-database.outputs.labels }}
release:
name: "New LiteLLM Release"

Expand Down

0 comments on commit 7f739bb

Please sign in to comment.