mirror of https://github.com/halo-dev/halo-admin
Support pushing to Docker Hub (#607)
parent
fdc60e9c40
commit
e5dd8cc89c
|
@ -94,4 +94,6 @@ jobs:
|
|||
with:
|
||||
image-name: admin-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