From 07fdcd2100e1e92f07973cf1aa0862a1c397e47e Mon Sep 17 00:00:00 2001 From: John Niang Date: Wed, 7 Dec 2022 15:39:57 +0800 Subject: [PATCH] Set docker image name properly when releasing Signed-off-by: John Niang --- .github/workflows/halo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/halo.yaml b/.github/workflows/halo.yaml index e1ba2e1077..fba773ddc1 100644 --- a/.github/workflows/halo.yaml +++ b/.github/workflows/halo.yaml @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v2 - uses: halo-sigs/actions/halo-next-docker-build@main # change the version to specific ref or release tag while the action is stable. with: - image-name: halo-dev + image-name: ${{ github.event_name == 'release' && 'halo' || 'halo-dev' }} ghcr-token: ${{ secrets.GHCR_TOKEN }} dockerhub-user: ${{ secrets.DOCKER_USERNAME }} dockerhub-token: ${{ secrets.DOCKER_TOKEN }}