mirror of https://github.com/halo-dev/halo
Set docker image name properly when releasing (#2872)
parent
3abc930150
commit
cd5cc74714
|
@ -56,7 +56,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- 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.
|
- uses: halo-sigs/actions/halo-next-docker-build@main # change the version to specific ref or release tag while the action is stable.
|
||||||
with:
|
with:
|
||||||
image-name: halo-dev
|
image-name: ${{ github.event_name == 'release' && 'halo' || 'halo-dev' }}
|
||||||
ghcr-token: ${{ secrets.GHCR_TOKEN }}
|
ghcr-token: ${{ secrets.GHCR_TOKEN }}
|
||||||
dockerhub-user: ${{ secrets.DOCKER_USERNAME }}
|
dockerhub-user: ${{ secrets.DOCKER_USERNAME }}
|
||||||
dockerhub-token: ${{ secrets.DOCKER_TOKEN }}
|
dockerhub-token: ${{ secrets.DOCKER_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue