Skip to content

Commit 78a0a6f

Browse files
authored
Merge pull request #88 from ngraef/chore/go-1.19
chore: finish update to go 1.19
2 parents 76ede99 + a48eb2c commit 78a0a6f

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v3
1010
with:
1111
fetch-depth: 0
1212
- name: Setup Go
13-
uses: actions/setup-go@v2
13+
uses: actions/setup-go@v3
1414
with:
15-
go-version: 1.15
16-
- uses: actions/cache@v2
15+
go-version: 1.19
16+
- uses: actions/cache@v3
1717
with:
1818
path: ~/go/pkg/mod
1919
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
2020
restore-keys: |
2121
${{ runner.os }}-go-
2222
- name: Build with Goreleaser
23-
uses: goreleaser/goreleaser-action@v2
23+
uses: goreleaser/goreleaser-action@v3
2424
with:
2525
version: latest
2626
args: release --snapshot --skip-publish --rm-dist

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212
with:
1313
fetch-depth: 0
1414
- name: Setup Go
15-
uses: actions/setup-go@v2
15+
uses: actions/setup-go@v3
1616
with:
17-
go-version: 1.15
17+
go-version: 1.19
1818
- name: GoReleaser
19-
uses: goreleaser/goreleaser-action@v2
19+
uses: goreleaser/goreleaser-action@v3
2020
with:
2121
version: latest
2222
args: release --rm-dist

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
99
# See the License for the specific language governing permissions and
1010
# limitations under the License.
11-
ARG BUILDER=golang:1.15-alpine
12-
ARG BASE_IMAGE=public.ecr.aws/eks-distro/kubernetes/go-runner:v0.13.0-eks-1-23-1
11+
ARG BUILDER=golang:1.19-alpine
12+
ARG BASE_IMAGE=public.ecr.aws/eks-distro/kubernetes/go-runner:v0.13.0-eks-1-23-9
1313

1414
FROM ${BUILDER} AS build
1515
WORKDIR /go/src/sigs.k8s.io/aws-encryption-provider
1616
ARG TAG
1717
COPY . ./
1818
ENV GO111MODULE=on
19-
RUN CGO_ENABLED=0 GOOS=linux go build -mod vendor -ldflags \
19+
RUN CGO_ENABLED=0 GOOS=linux go build -mod mod -ldflags \
2020
"-w -s -X sigs.k8s.io/aws-encryption-provider/pkg/version.Version=$TAG" \
2121
-o bin/aws-encryption-provider cmd/server/main.go
2222

0 commit comments

Comments
 (0)