forked from phoenix/litellm-mirror
Update ghcr_deploy.yml
This commit is contained in:
parent
7e43d22da4
commit
fc8811a5e7
1 changed files with 1 additions and 32 deletions
33
.github/workflows/ghcr_deploy.yml
vendored
33
.github/workflows/ghcr_deploy.yml
vendored
|
@ -77,37 +77,6 @@ jobs:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
platform: local, linux/amd64,linux/arm64,linux/arm64/v8
|
platform: local, linux/amd64,linux/arm64,linux/arm64/v8
|
||||||
|
|
||||||
build-and-push-image-ui:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
|
||||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
|
||||||
with:
|
|
||||||
registry: ${{ env.REGISTRY }}
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for UI Dockerfile
|
|
||||||
id: meta-ui
|
|
||||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
|
||||||
with:
|
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ui
|
|
||||||
|
|
||||||
- name: Build and push UI Docker image
|
|
||||||
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
|
||||||
with:
|
|
||||||
context: ui/
|
|
||||||
file: ui/Dockerfile
|
|
||||||
push: true
|
|
||||||
tags: ${{ steps.meta-ui.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-ui.outputs.tags }}-latest
|
|
||||||
labels: ${{ steps.meta-ui.outputs.labels }}
|
|
||||||
platform: local, linux/amd64,linux/arm64,linux/arm64/v8
|
|
||||||
build-and-push-image-database:
|
build-and-push-image-database:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -182,4 +151,4 @@ jobs:
|
||||||
content: "||@everyone||"
|
content: "||@everyone||"
|
||||||
footer_title: "Changelog"
|
footer_title: "Changelog"
|
||||||
footer_icon_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"
|
footer_icon_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"
|
||||||
footer_timestamp: true
|
footer_timestamp: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue