Skip to content

Commit

Permalink
chore: fix docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
missuo committed May 29, 2023
1 parent 2ced7ee commit 80f63f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:

env:
# 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_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
GHCR_TOKEN: ${{ secrets.GT_Token }}
Expand Down Expand Up @@ -56,8 +57,8 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
docker.io/${{ env.IMAGE_NAME }}
ghcr.io/${{ env.IMAGE_NAME }}
docker.io/${{ env.DOCKER_IMAGE_NAME }}
ghcr.io/${{ env.GHCR_IMAGE_NAME }}
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
Expand Down

0 comments on commit 80f63f1

Please sign in to comment.