diff --git a/.github/workflows/halo.yaml b/.github/workflows/halo.yaml index d69b740a5..bcfd39006 100644 --- a/.github/workflows/halo.yaml +++ b/.github/workflows/halo.yaml @@ -3,15 +3,13 @@ name: Halo CI on: pull_request: branches: - - main - - release-* + - release-2.3 paths: - "**" - "!**.md" push: branches: - - main - - release-* + - release-2.3 paths: - "**" - "!**.md" @@ -56,11 +54,11 @@ jobs: needs: test steps: - uses: actions/checkout@v3 - - uses: halo-sigs/actions/halo-next-docker-build@main # change the version to specific ref or release tag while the action is stable. + - uses: halo-sigs/actions/halo-next-docker-build@release-2.3 # change the version to specific ref or release tag while the action is stable. with: image-name: ${{ github.event_name == 'release' && 'halo' || 'halo-dev' }} ghcr-token: ${{ secrets.GHCR_TOKEN }} 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.3' }}