mirror of https://github.com/halo-dev/halo
Build console with release tag when releasing (#2665)
parent
f22a401092
commit
84b28cec16
|
@ -61,3 +61,4 @@ jobs:
|
|||
dockerhub-user: ${{ secrets.DOCKER_USERNAME }}
|
||||
dockerhub-token: ${{ secrets.DOCKER_TOKEN }}
|
||||
push: ${{ github.event_name == 'push' || github.event_name == 'release' }} # we only push to GHCR if the push is to the next branch
|
||||
console-ref: ${{ github.event_name == 'release' && github.ref || 'main' }}
|
||||
|
|
Loading…
Reference in New Issue