File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1
- name : Build
1
+ name : Main
2
2
3
3
on :
4
4
pull_request :
Original file line number Diff line number Diff line change
1
+ name : Operator
2
+
3
+ on :
4
+ schedule :
5
+ - cron : " 30 4 * * *"
6
+
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+
13
+ - name : Login to Docker Hub
14
+ uses : docker/login-action@v3
15
+ if : github.ref == 'refs/heads/main'
16
+ with :
17
+ registry : quay.io
18
+ username : ${{ secrets.QUAY_USERNAME }}
19
+ password : ${{ secrets.QUAY_ROBOT_TOKEN }}
20
+
21
+ - id : checkout-operator-repo
22
+ name : Checkout Camel Dashboard Operator repo
23
+ uses : actions/checkout@v4
24
+ with :
25
+ repository : squakez/camel-dashboard-operator
26
+ path : camel-dashboard-operator
27
+
28
+ - name : Set up Go
29
+ uses : actions/setup-go@v5
30
+ with :
31
+ go-version-file : " camel-dashboard-operator/go.mod"
32
+ check-latest : true
33
+
34
+ - name : Build operator
35
+ shell : bash
36
+ run : |
37
+ pushd camel-dashboard-operator
38
+ NOTEST=1 make build
39
+ NOTEST=1 CUSTOM_IMAGE=quay.io/camel-tooling/camel-dashboard-operator CUSTOM_VERSION=latest make images
40
+ NOTEST=1 CUSTOM_IMAGE=quay.io/camel-tooling/camel-dashboard-operator CUSTOM_VERSION=latest make images-push
You can’t perform that action at this time.
0 commit comments