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