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