Build console with release tag when releasing (#2665)

pull/2659/head
John Niang 2022-11-07 16:03:15 +08:00 committed by GitHub
parent f22a401092
commit 84b28cec16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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' }}