mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-02 01:19:31 +00:00
Add reusable release workflows
Signed-off-by: Alexander Maslennikov <amaslennikov@nvidia.com>
This commit is contained in:
21
.github/workflows/fork-ci.yml
vendored
Normal file
21
.github/workflows/fork-ci.yml
vendored
Normal file
@@ -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 }}
|
15
.github/workflows/fork-sync.yml
vendored
Normal file
15
.github/workflows/fork-sync.yml
vendored
Normal file
@@ -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 }}
|
Reference in New Issue
Block a user