File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 23
23
24
24
env :
25
25
DOCKER_BUILDKIT : 1
26
- GOLANG_VERSION : 1.15
26
+ GOLANG_VERSION : 1.16
27
27
28
28
jobs :
29
29
73
73
name : Release Image
74
74
runs-on : ubuntu-18.04
75
75
needs : [build, unit-tests]
76
- if :
76
+ if :
77
77
github.repository == 'nginxinc/nginx-prometheus-exporter' &&
78
- github.event_name == 'create' &&
78
+ github.event_name == 'create' &&
79
79
contains(github.ref, 'refs/tags/')
80
80
steps :
81
81
- name : Checkout Repository
95
95
restore-keys : |
96
96
${{ runner.os }}-buildx-
97
97
- name : DockerHub Login
98
- uses : docker/login-action@v1
98
+ uses : docker/login-action@v1
99
99
with :
100
100
username : ${{ secrets.DOCKER_USERNAME }}
101
101
password : ${{ secrets.DOCKER_PASSWORD }}
@@ -125,8 +125,8 @@ jobs:
125
125
echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)"
126
126
- name : Send Notification
127
127
uses : 8398a7/action-slack@v3
128
- if :
129
- steps.check.outputs.status == 'failure' ||
128
+ if :
129
+ steps.check.outputs.status == 'failure' ||
130
130
steps.check.outputs.status == 'cancelled'
131
131
with :
132
132
status : custom
@@ -162,4 +162,4 @@ jobs:
162
162
}
163
163
env :
164
164
GITHUB_TOKEN : ${{ github.token }}
165
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK }}
165
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK }}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ defaults:
15
15
env :
16
16
FOSSA_VER : 1.1.0
17
17
FOSSA_URL : https://github.com/fossas/fossa-cli/releases/download
18
- GOLANG_VERSION : 1.15
18
+ GOLANG_VERSION : 1.16
19
19
20
20
jobs :
21
21
87
87
}
88
88
env :
89
89
GITHUB_TOKEN : ${{ github.token }}
90
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK }}
90
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK }}
Original file line number Diff line number Diff line change 1
- FROM golang:1.15 as builder
1
+ FROM golang:1.16 as builder
2
2
ARG VERSION
3
3
ARG GIT_COMMIT
4
4
WORKDIR /go/src/github.com/nginxinc/nginx-prometheus-exporter
Original file line number Diff line number Diff line change 1
1
module github.com/nginxinc/nginx-prometheus-exporter
2
2
3
- go 1.15
3
+ go 1.16
4
4
5
5
require (
6
6
github.com/nginxinc/nginx-plus-go-client v0.8.0
You can’t perform that action at this time.
0 commit comments