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 2323
2424env :
2525 DOCKER_BUILDKIT : 1
26- GOLANG_VERSION : 1.15
26+ GOLANG_VERSION : 1.16
2727
2828jobs :
2929
7373 name : Release Image
7474 runs-on : ubuntu-18.04
7575 needs : [build, unit-tests]
76- if :
76+ if :
7777 github.repository == 'nginxinc/nginx-prometheus-exporter' &&
78- github.event_name == 'create' &&
78+ github.event_name == 'create' &&
7979 contains(github.ref, 'refs/tags/')
8080 steps :
8181 - name : Checkout Repository
9595 restore-keys : |
9696 ${{ runner.os }}-buildx-
9797 - name : DockerHub Login
98- uses : docker/login-action@v1
98+ uses : docker/login-action@v1
9999 with :
100100 username : ${{ secrets.DOCKER_USERNAME }}
101101 password : ${{ secrets.DOCKER_PASSWORD }}
@@ -125,8 +125,8 @@ jobs:
125125 echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)"
126126 - name : Send Notification
127127 uses : 8398a7/action-slack@v3
128- if :
129- steps.check.outputs.status == 'failure' ||
128+ if :
129+ steps.check.outputs.status == 'failure' ||
130130 steps.check.outputs.status == 'cancelled'
131131 with :
132132 status : custom
@@ -162,4 +162,4 @@ jobs:
162162 }
163163 env :
164164 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:
1515env :
1616 FOSSA_VER : 1.1.0
1717 FOSSA_URL : https://github.com/fossas/fossa-cli/releases/download
18- GOLANG_VERSION : 1.15
18+ GOLANG_VERSION : 1.16
1919
2020jobs :
2121
8787 }
8888 env :
8989 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
22ARG VERSION
33ARG GIT_COMMIT
44WORKDIR /go/src/github.com/nginxinc/nginx-prometheus-exporter
Original file line number Diff line number Diff line change 11module github.com/nginxinc/nginx-prometheus-exporter
22
3- go 1.15
3+ go 1.16
44
55require (
66 github.com/nginxinc/nginx-plus-go-client v0.8.0
You can’t perform that action at this time.
0 commit comments