From 03d8eb66713282ce6cb29e374cfadcd5865ed490 Mon Sep 17 00:00:00 2001 From: Carsten Schafer Date: Wed, 21 Aug 2024 10:00:17 -0400 Subject: [PATCH] WIFI-13821 Push additional branches starting with test_ - for CGW Signed-off-by: Carsten Schafer --- composite-actions/docker-image-build/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composite-actions/docker-image-build/action.yml b/composite-actions/docker-image-build/action.yml index b657f17..3b8504f 100644 --- a/composite-actions/docker-image-build/action.yml +++ b/composite-actions/docker-image-build/action.yml @@ -33,7 +33,7 @@ runs: install: true - name: Log into Docker registry - if: startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/pull/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' + if: startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/pull/') || startsWith(github.ref, 'refs/heads/test_') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' uses: docker/login-action@v3 with: registry: ${{ inputs.registry }} @@ -64,7 +64,7 @@ runs: echo "branch_time=$(git log -1 --pretty=%ct)" >> $GITHUB_OUTPUT - name: Build and push - if: startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/pull/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' + if: startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/pull/') || startsWith(github.ref, 'refs/heads/test_') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' uses: docker/build-push-action@v6 env: BRANCH_NAME: ${{ steps.set_branch_name.outputs.branch_name }}