mirror of
https://github.com/Telecominfraproject/.github.git
synced 2026-01-27 02:21:01 +00:00
WIFI-13821 Push additional branches starting with test_ - for CGW
Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user