File tree Expand file tree Collapse file tree 6 files changed +13
-12
lines changed Expand file tree Collapse file tree 6 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 21
21
22
22
env :
23
23
DOCKER_BUILDKIT : 1
24
- GOLANG_VERSION : 1.15
24
+ GOLANG_VERSION : 1.16
25
25
26
26
jobs :
27
27
28
28
binary :
29
29
name : Build Binary
30
- runs-on : ubuntu-18 .04
30
+ runs-on : ubuntu-20 .04
31
31
steps :
32
32
- name : Checkout Repository
33
33
uses : actions/checkout@v2
48
48
49
49
unit-tests :
50
50
name : Unit Tests
51
- runs-on : ubuntu-18 .04
51
+ runs-on : ubuntu-20 .04
52
52
steps :
53
53
- name : Checkout Repository
54
54
uses : actions/checkout@v2
61
61
62
62
build :
63
63
name : Build Image
64
- runs-on : ubuntu-18 .04
64
+ runs-on : ubuntu-20 .04
65
65
needs : [binary, unit-tests]
66
66
steps :
67
67
- name : Checkout Repository
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ defaults:
14
14
env :
15
15
FOSSA_VER : 1.1.3
16
16
FOSSA_URL : https://github.com/fossas/fossa-cli/releases/download
17
- GOLANG_VERSION : 1.15
17
+ GOLANG_VERSION : 1.16
18
18
19
19
jobs :
20
20
21
21
scan :
22
22
name : Fossa
23
- runs-on : ubuntu-18 .04
23
+ runs-on : ubuntu-20 .04
24
24
steps :
25
25
- name : Checkout Repository
26
26
uses : actions/checkout@v2
42
42
43
43
notify :
44
44
name : Notify
45
- runs-on : ubuntu-18 .04
45
+ runs-on : ubuntu-20 .04
46
46
needs : scan
47
47
if : always()
48
48
steps :
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
update_release_draft :
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-20.04
13
13
steps :
14
- - uses : release-drafter/release-drafter@v5.14.0
14
+ - uses : release-drafter/release-drafter@v5
15
15
env :
16
16
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ ARG CONTAINER_VERSION=ubuntu:groovy
2
2
ARG OS_TYPE=deb_based
3
3
ARG PACKAGE_VERSION=0.4-1
4
4
5
- FROM golang:1.15 -alpine AS builder
5
+ FROM golang:1.16 -alpine AS builder
6
6
WORKDIR /go/src/github.com/nginxinc/nginx-asg-sync/cmd/sync
7
7
COPY . /go/src/github.com/nginxinc/nginx-asg-sync/
8
8
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
10
10
11
11
# ---------------------------------------------------------------------------------------------
12
12
Original file line number Diff line number Diff line change
1
+ build/package/debian/
Original file line number Diff line number Diff line change 1
1
module github.com/nginxinc/nginx-asg-sync
2
2
3
- go 1.15
3
+ go 1.16
4
4
5
5
require (
6
6
github.com/Azure/azure-sdk-for-go v51.3.0+incompatible
You can’t perform that action at this time.
0 commit comments