@@ -105,9 +105,23 @@ jobs:
105105 ghcr.io/plexguide/huntarr:${{ steps.meta.outputs.VERSION }}
106106 ghcr.io/plexguide/huntarr:latest
107107
108- # 7d) Build & Push for any other branch
108+ # 7d) Build & Push for B8- branches (without latest tag)
109+ - name : Build and Push (B8- branch)
110+ if : startsWith(github.ref, 'refs/heads/B8-') && github.event_name != 'pull_request'
111+ uses : docker/build-push-action@v3
112+ with :
113+ context : .
114+ push : true
115+ platforms : linux/amd64,linux/arm64
116+ tags : |
117+ huntarr/huntarr:${{ steps.meta.outputs.BRANCH }}
118+ huntarr/huntarr:${{ github.sha }}
119+ ghcr.io/plexguide/huntarr:${{ steps.meta.outputs.BRANCH }}
120+ ghcr.io/plexguide/huntarr:${{ github.sha }}
121+
122+ # 7e) Build & Push for any other branch (not B8-)
109123 - name : Build and Push (feature branch)
110- if : github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' && steps.meta.outputs.IS_TAG != 'true' && github.event_name != 'pull_request'
124+ if : github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' && !startsWith(github.ref, 'refs/heads/B8-') && steps.meta.outputs.IS_TAG != 'true' && github.event_name != 'pull_request'
111125 uses : docker/build-push-action@v3
112126 with :
113127 context : .
@@ -119,7 +133,7 @@ jobs:
119133 ghcr.io/plexguide/huntarr:${{ steps.meta.outputs.BRANCH }}
120134 ghcr.io/plexguide/huntarr:${{ github.sha }}
121135
122- # 7e ) Just build on pull requests
136+ # 7f ) Just build on pull requests
123137 - name : Build (PR)
124138 if : github.event_name == 'pull_request'
125139 uses : docker/build-push-action@v3
0 commit comments