Set docker image name properly when releasing (#2872)

pull/2876/head
John Niang 2022-12-07 15:56:03 +08:00 committed by GitHub
parent 3abc930150
commit cd5cc74714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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