File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 2121
2222env :
2323 DOCKER_BUILDKIT : 1
24- GOLANG_VERSION : 1.15
24+ GOLANG_VERSION : 1.16
2525
2626jobs :
2727
2828 binary :
2929 name : Build Binary
30- runs-on : ubuntu-18 .04
30+ runs-on : ubuntu-20 .04
3131 steps :
3232 - name : Checkout Repository
3333 uses : actions/checkout@v2
4848
4949 unit-tests :
5050 name : Unit Tests
51- runs-on : ubuntu-18 .04
51+ runs-on : ubuntu-20 .04
5252 steps :
5353 - name : Checkout Repository
5454 uses : actions/checkout@v2
6161
6262 build :
6363 name : Build Image
64- runs-on : ubuntu-18 .04
64+ runs-on : ubuntu-20 .04
6565 needs : [binary, unit-tests]
6666 steps :
6767 - name : Checkout Repository
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ defaults:
1414env :
1515 FOSSA_VER : 1.1.3
1616 FOSSA_URL : https://github.com/fossas/fossa-cli/releases/download
17- GOLANG_VERSION : 1.15
17+ GOLANG_VERSION : 1.16
1818
1919jobs :
2020
2121 scan :
2222 name : Fossa
23- runs-on : ubuntu-18 .04
23+ runs-on : ubuntu-20 .04
2424 steps :
2525 - name : Checkout Repository
2626 uses : actions/checkout@v2
4242
4343 notify :
4444 name : Notify
45- runs-on : ubuntu-18 .04
45+ runs-on : ubuntu-20 .04
4646 needs : scan
4747 if : always()
4848 steps :
Original file line number Diff line number Diff line change 99
1010jobs :
1111 update_release_draft :
12- runs-on : ubuntu-latest
12+ runs-on : ubuntu-20.04
1313 steps :
14- - uses : release-drafter/release-drafter@v5.14.0
14+ - uses : release-drafter/release-drafter@v5
1515 env :
1616 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ ARG CONTAINER_VERSION=ubuntu:groovy
22ARG OS_TYPE=deb_based
33ARG PACKAGE_VERSION=0.4-1
44
5- FROM golang:1.15 -alpine AS builder
5+ FROM golang:1.16 -alpine AS builder
66WORKDIR /go/src/github.com/nginxinc/nginx-asg-sync/cmd/sync
77COPY . /go/src/github.com/nginxinc/nginx-asg-sync/
88
9- RUN CGO_ENABLED=0 GOFLAGS='-mod=vendor' go build -installsuffix cgo -o /nginx-asg-sync
9+ RUN CGO_ENABLED=0 GO111MODULE=on GOFLAGS='-mod=vendor' go build -installsuffix cgo -o /nginx-asg-sync
1010
1111# ---------------------------------------------------------------------------------------------
1212
Original file line number Diff line number Diff line change 11module github.com/nginxinc/nginx-asg-sync
22
3- go 1.15
3+ go 1.16
44
55require (
66 github.com/Azure/azure-sdk-for-go v51.3.0+incompatible
You can’t perform that action at this time.
0 commit comments