-
Notifications
You must be signed in to change notification settings - Fork 51
35 lines (35 loc) · 1.07 KB
/
component-bumper.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: Auto-Bump Component's Versions
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
jobs:
bump:
name: CNAO Component Bump Job
if: (github.repository == 'kubevirt/cluster-network-addons-operator')
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branch:
- main
- release-0.65
- release-0.76
- release-0.79
- release-0.85
- release-0.89
- release-0.91
- release-0.93
- release-0.95
steps:
- name: Login to Quay
run: docker login -u="kubevirt+network" -p="${{ secrets.QUAY_ROBOT_TOKEN }}" quay.io
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
ref: ${{ matrix.branch }}
- name: Pull latest of latest branch
run: git pull --ff-only --rebase origin ${{ matrix.branch }}
- name: Run bumper script
run: make ARGS="-config-path=components.yaml -token=${{ secrets.KUBEVIRT_BOT_TOKEN }} -base-branch=${{ matrix.branch }}" auto-bumper