diff --git a/.github/workflows/ovs-multiarch-build-and-push.yml b/.github/workflows/ovs-multiarch-build-and-push.yml index 1bd083d9..b3b55ca5 100644 --- a/.github/workflows/ovs-multiarch-build-and-push.yml +++ b/.github/workflows/ovs-multiarch-build-and-push.yml @@ -1,6 +1,12 @@ --- name: docker on: + push: + branches: + - private/shweta/ovs-multi-arch + pull_request: + branches: + - private/shweta/ovs-multi-arch workflow_call: inputs: image_name: diff --git a/.github/workflows/ovs-multiarch-caller.yaml b/.github/workflows/ovs-multiarch-caller.yaml index cfc314ab..70a90204 100644 --- a/.github/workflows/ovs-multiarch-caller.yaml +++ b/.github/workflows/ovs-multiarch-caller.yaml @@ -8,14 +8,13 @@ on: branches: - private/shweta/ovs-multi-arch jobs: - call-callee: + trigger_workflow: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Call Callee Workflow - uses: .github/workflows/ovs-multiarch-build-and-push.yml + - name: Trigger Docker Image Build + uses: actions/workflow-dispatch@v2 + with: + workflow: ovs-multiarch-build-and-push.yml with: image-name: openvswitch tag: testovs