mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2025-06-08 18:03:25 +00:00
chore: fix docker images
This commit is contained in:
parent
2ced7ee49b
commit
80f63f1174
7
.github/workflows/docker.yaml
vendored
7
.github/workflows/docker.yaml
vendored
@ -9,7 +9,8 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
# github.repository as <account>/<repo>
|
# github.repository as <account>/<repo>
|
||||||
IMAGE_NAME: missuo/deeplx
|
DOCKER_IMAGE_NAME: missuo/deeplx
|
||||||
|
GHCR_IMAGE_NAME: ${{ github.repository }}
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
GHCR_TOKEN: ${{ secrets.GT_Token }}
|
GHCR_TOKEN: ${{ secrets.GT_Token }}
|
||||||
@ -56,8 +57,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# list of Docker images to use as base name for tags
|
# list of Docker images to use as base name for tags
|
||||||
images: |
|
images: |
|
||||||
docker.io/${{ env.IMAGE_NAME }}
|
docker.io/${{ env.DOCKER_IMAGE_NAME }}
|
||||||
ghcr.io/${{ env.IMAGE_NAME }}
|
ghcr.io/${{ env.GHCR_IMAGE_NAME }}
|
||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user