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 }}