Skip to content

Commit 29efb7d

Browse files
ihalatciCopilot
andcommitted
Publish release images from release-* branches
The release-12 lineage still gated build_release_images on master only, so pushes to release-12 produced -dev- tags instead of -v tags. Match the release-13/release-14 behaviour by also releasing from release-* branches and skipping the dev jobs there. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7c6370b2-06fd-4491-bf92-ecb811d34518
1 parent 4af5e7f commit 29efb7d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-test-images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
pgversions: ${{ toJSON(steps.get_versions.outputs.*) }}
2121

2222
build_dev_images_per_postgres:
23-
if: github.ref_name != 'master'
23+
if: github.ref_name != 'master' && !startsWith(github.ref_name, 'release-')
2424
name: push-test-images-for-dev
2525
runs-on: ubuntu-latest
2626
permissions:
@@ -54,7 +54,7 @@ jobs:
5454
make push-${{ matrix.command }}-${{ matrix.pgversion }}
5555
5656
build_dev_images_shared:
57-
if: github.ref_name != 'master'
57+
if: github.ref_name != 'master' && !startsWith(github.ref_name, 'release-')
5858
name: push-test-images-for-dev
5959
runs-on: ubuntu-latest
6060
permissions:
@@ -86,7 +86,7 @@ jobs:
8686
8787
8888
build_release_images:
89-
if: github.ref_name == 'master'
89+
if: github.ref_name == 'master' || startsWith(github.ref_name, 'release-')
9090
name: push-test-images-for-release
9191
runs-on: ubuntu-latest
9292
permissions:

0 commit comments

Comments
 (0)