25
25
26
26
env :
27
27
DOCKER_BUILDKIT : 1
28
- GOLANG_VERSION : 1.15
28
+ GOLANG_VERSION : 1.16
29
29
30
30
jobs :
31
31
39
39
run : make binary
40
40
env :
41
41
GOFLAGS : ' -gcflags=-trimpath=${{ github.workspace }} -asmflags=-trimpath=${{ github.workspace }}'
42
- - name : Cache Artifacts
42
+ - name : Cache Artifacts
43
43
44
44
with :
45
45
path : ${{ github.workspace }}/build/_output/bin/nginx-ingress-operator
95
95
name : Release Image
96
96
runs-on : ubuntu-18.04
97
97
needs : [build, unit-tests]
98
- if :
98
+ if :
99
99
github.repository == 'nginxinc/nginx-ingress-operator' &&
100
- github.event_name == 'create' &&
100
+ github.event_name == 'create' &&
101
101
contains(github.ref, 'refs/tags/')
102
102
steps :
103
103
- name : Checkout Repository
@@ -122,7 +122,7 @@ jobs:
122
122
restore-keys : |
123
123
${{ runner.os }}-buildx-
124
124
- name : DockerHub Login
125
- uses : docker/login-action@v1
125
+ uses : docker/login-action@v1
126
126
with :
127
127
username : ${{ secrets.DOCKER_USERNAME }}
128
128
password : ${{ secrets.DOCKER_PASSWORD }}
@@ -152,8 +152,8 @@ jobs:
152
152
echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)"
153
153
- name : Send Notification
154
154
uses : 8398a7/action-slack@v3
155
- if :
156
- steps.check.outputs.status == 'failure' ||
155
+ if :
156
+ steps.check.outputs.status == 'failure' ||
157
157
steps.check.outputs.status == 'cancelled'
158
158
with :
159
159
status : custom
@@ -189,4 +189,4 @@ jobs:
189
189
}
190
190
env :
191
191
GITHUB_TOKEN : ${{ github.token }}
192
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK }}
192
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK }}
0 commit comments