mirror of https://github.com/halo-dev/halo
Support pushing to Docker Hub (#2392)
Signed-off-by: johnniang <johnniang@fastmail.com> Signed-off-by: johnniang <johnniang@fastmail.com>pull/2399/head
parent
e25a3d2232
commit
a2ee2e492e
|
@ -58,4 +58,6 @@ jobs:
|
|||
with:
|
||||
image-name: halo-dev
|
||||
ghcr-token: ${{ secrets.GHCR_TOKEN }}
|
||||
dockerhub-user: ${{ secrets.DOCKER_USERNAME }}
|
||||
dockerhub-token: ${{ secrets.DOCKER_TOKEN }}
|
||||
push: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/next' }} # we only push to GHCR if the push is to the next branch
|
||||
|
|
Loading…
Reference in New Issue