33
33
runs-on : ubuntu-latest
34
34
steps :
35
35
- name : Checkout
36
- uses : actions/checkout@v3
36
+ uses : actions/checkout@v4
37
37
38
38
- name : License Check
39
39
run : make license-check
44
44
runs-on : ubuntu-latest
45
45
steps :
46
46
- name : Checkout
47
- uses : actions/checkout@v3
47
+ uses : actions/checkout@v4
48
48
49
49
- name : Unit test
50
50
run : make test
@@ -62,12 +62,12 @@ jobs:
62
62
needs : ['lint', 'unit-test']
63
63
steps :
64
64
- name : Checkout
65
- uses : actions/checkout@v3
65
+ uses : actions/checkout@v4
66
66
67
- - name : Set up Go 1.15
68
- uses : actions/setup-go@v3
67
+ - name : Set up Go 1.19
68
+ uses : actions/setup-go@v4
69
69
with :
70
- go-version : 1.15.15
70
+ go-version : 1.19.13
71
71
72
72
- name : Build provisioner-nfs image
73
73
run : make provisioner-nfs-image
@@ -80,11 +80,14 @@ jobs:
80
80
sudo apt-get update && sudo apt-get install -y nfs-common
81
81
82
82
- name : Setup Minikube-Kubernetes
83
- uses : manusa/actions- setup-minikube@v2.7.2
83
+ uses : medyagh/ setup-minikube@latest
84
84
with :
85
- minikube version : v1.29.0
86
- kubernetes version : v1.23.16
87
- start args : ' --install-addons=false'
85
+ cache : false
86
+ minikube-version : 1.31.1
87
+ driver : none
88
+ kubernetes-version : ${{ matrix.kubernetes }}
89
+ cni : calico
90
+ start-args : ' --install-addons=false'
88
91
89
92
- name : Installation
90
93
run : |
@@ -99,12 +102,12 @@ jobs:
99
102
needs : ['lint', 'unit-test']
100
103
steps :
101
104
- name : Checkout
102
- uses : actions/checkout@v3
105
+ uses : actions/checkout@v4
103
106
104
- - name : Set up Go 1.15
107
+ - name : Set up Go 1.19
105
108
uses : actions/setup-go@v3
106
109
with :
107
- go-version : 1.15.15
110
+ go-version : 1.19.13
108
111
109
112
- name : Set Image Org
110
113
# sets the default IMAGE_ORG to openebs
@@ -124,21 +127,20 @@ jobs:
124
127
- name : Set Build Date
125
128
id : date
126
129
run : |
127
- echo "::set-output name= DATE:: $(date -u +'%Y-%m-%dT%H:%M:%S%Z')"
130
+ echo "DATE= $(date -u +'%Y-%m-%dT%H:%M:%S%Z')" >> $GITHUB_OUTPUT
128
131
129
132
- name : Docker meta
130
133
id : docker_meta
131
- uses : crazy-max/ghaction-docker-meta@v1
134
+ uses : docker/metadata-action@v4
132
135
with :
133
136
# add each registry to which the image needs to be pushed here
134
137
images : |
135
138
${{ env.IMAGE_ORG }}/provisioner-nfs
136
139
quay.io/${{ env.IMAGE_ORG }}/provisioner-nfs
137
140
ghcr.io/${{ env.IMAGE_ORG }}/provisioner-nfs
138
- tag-latest : false
139
- tag-custom-only : true
140
- tag-custom : |
141
- ${{ env.TAG }}
141
+ tags : |
142
+ type=raw,value=latest,enable=false
143
+ type=raw,value=${{ env.TAG }}
142
144
143
145
- name : Print Tags
144
146
run : |
@@ -194,7 +196,7 @@ jobs:
194
196
needs : ['lint', 'unit-test']
195
197
steps :
196
198
- name : Checkout
197
- uses : actions/checkout@v3
199
+ uses : actions/checkout@v4
198
200
199
201
- name : Set Image Org
200
202
# sets the default IMAGE_ORG to openebs
@@ -213,17 +215,16 @@ jobs:
213
215
214
216
- name : Docker meta
215
217
id : docker_meta
216
- uses : crazy-max/ghaction-docker-meta@v1
218
+ uses : docker/metadata-action@v4
217
219
with :
218
220
# add each registry to which the image needs to be pushed here
219
221
images : |
220
222
${{ env.IMAGE_ORG }}/nfs-server-alpine
221
223
quay.io/${{ env.IMAGE_ORG }}/nfs-server-alpine
222
224
ghcr.io/${{ env.IMAGE_ORG }}/nfs-server-alpine
223
- tag-latest : false
224
- tag-custom-only : true
225
- tag-custom : |
226
- ${{ env.TAG }}
225
+ tags : |
226
+ type=raw,value=latest,enable=false
227
+ type=raw,value=${{ env.TAG }}
227
228
228
229
- name : Print Tags
229
230
run : |
@@ -274,7 +275,7 @@ jobs:
274
275
runs-on : ubuntu-latest
275
276
steps :
276
277
- name : Checkout
277
- uses : actions/checkout@v3
278
+ uses : actions/checkout@v4
278
279
279
280
- name : Set Image Org
280
281
# sets the default IMAGE_ORG to openebs
0 commit comments