From 80f63f11743d3dd06cb32df558f64ccb9972ac9c Mon Sep 17 00:00:00 2001 From: Vincent Young Date: Tue, 30 May 2023 01:21:20 +0800 Subject: [PATCH] chore: fix docker images --- .github/workflows/docker.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 3f23e06a..16f96daf 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -9,7 +9,8 @@ on: env: # github.repository as / - 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 }} @@ -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/') }}