forked from phoenix/litellm-mirror
Update docker.yml
This commit is contained in:
parent
89e08e8288
commit
00481ef67e
1 changed files with 6 additions and 1 deletions
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
@ -4,6 +4,9 @@ on:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
description: "The tag version you want to build"
|
description: "The tag version you want to build"
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -48,7 +51,9 @@ jobs:
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{ env.REPO }}:${{ github.sha }}
|
tags: |
|
||||||
|
${{ steps.tag.outputs.latest }}
|
||||||
|
${{ steps.tag.outputs.versioned }}
|
||||||
file: ./Dockerfile`
|
file: ./Dockerfile`
|
||||||
- name: Build and release Docker images
|
- name: Build and release Docker images
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue