mirror of https://github.com/halo-dev/halo
Correct console ref while building on branch release-2.2 (#3492)
#### What type of PR is this? /kind cleanup /area core #### What this PR does / why we need it: Correct console ref while building on branch release-2.2. After that, we can build Halo and console on same branch(release-2.2) instead of main branch of console. #### Does this PR introduce a user-facing change? ```release-note None ```release-2.2
parent
16326ead95
commit
ae76b37753
|
@ -61,4 +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' }}
|
||||
console-ref: ${{ github.event_name == 'release' && github.ref || 'release-2.2' }}
|
||||
|
|
Loading…
Reference in New Issue