diff --git a/.github/workflows/fork-ci.yml b/.github/workflows/fork-ci.yml new file mode 100644 index 000000000..547fa3df0 --- /dev/null +++ b/.github/workflows/fork-ci.yml @@ -0,0 +1,21 @@ +name: Fork Release CI + +on: + push: + branches: + - network-operator-* + tags: + - network-operator-* + +jobs: + call-reusable-ci-fork-workflow: + uses: Mellanox/cloud-orchestration-reusable-workflows/.github/workflows/fork-ci-reusable.yml@main + with: + registry-internal: nvcr.io/nvstaging/mellanox + service-account-username: nvidia-cicd + service-account-email: svc-cloud-orch-gh@nvidia.com + components: '[{"name": "Multus", "imageName": "multus-cni", "Dockerfile": "images/Dockerfile"}]' + secrets: + registry-username: ${{ github.repository_owner }} + registry-token: ${{ secrets.GITHUB_TOKEN }} + cicd-gh-token: ${{ secrets.GH_TOKEN_NVIDIA_CI_CD }} diff --git a/.github/workflows/fork-sync.yml b/.github/workflows/fork-sync.yml new file mode 100644 index 000000000..5bdae73e5 --- /dev/null +++ b/.github/workflows/fork-sync.yml @@ -0,0 +1,15 @@ +name: Fork Sync + +on: + schedule: + - cron: '0 0 * * *' # nightly + workflow_dispatch: # enable manual trigger + +jobs: + call-reusable-sync-fork-workflow: + uses: Mellanox/cloud-orchestration-reusable-workflows/.github/workflows/fork-sync-reusable.yml@main + with: + upstream-owner: k8snetworkplumbingwg + default-branch: master + secrets: + gh_token: ${{ secrets.GITHUB_TOKEN }}