forked from phoenix/litellm-mirror
Update docker.yml
This commit is contained in:
parent
c02f222b20
commit
89e08e8288
1 changed files with 7 additions and 1 deletions
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
@ -44,7 +44,12 @@ jobs:
|
||||||
echo "GHCR_TOKEN=${{ secrets.GHCR_TOKEN }}"
|
echo "GHCR_TOKEN=${{ secrets.GHCR_TOKEN }}"
|
||||||
echo "REPO_NAME=${{ env.REPO_NAME }}"
|
echo "REPO_NAME=${{ env.REPO_NAME }}"
|
||||||
echo "ACTOR=${{ github.actor }}"
|
echo "ACTOR=${{ github.actor }}"
|
||||||
|
- name: Build and push container image to registry
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ghcr.io/${{ env.REPO }}:${{ github.sha }}
|
||||||
|
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
|
||||||
with:
|
with:
|
||||||
|
@ -55,3 +60,4 @@ jobs:
|
||||||
${{ steps.tag.outputs.versioned }}
|
${{ steps.tag.outputs.versioned }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
push: true
|
push: true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue