Skip to content

Commit

Permalink
use action
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket36 committed Apr 22, 2024
1 parent 95e41c2 commit a1acdb2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ovs-multiarch-build-and-push.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/ovs-multiarch-caller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a1acdb2

Please sign in to comment.