WIFI-13821 Push additional branches starting with test_ - for CGW

Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com>
This commit is contained in:
Carsten Schafer
2024-08-21 10:00:17 -04:00
parent 35a014035c
commit 03d8eb6671

View File

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