diff --git a/.github/workflows/releasebuild.yaml b/.github/workflows/releasebuild.yaml index 4b248b2..59f6fcc 100644 --- a/.github/workflows/releasebuild.yaml +++ b/.github/workflows/releasebuild.yaml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v2 with: - go-version: '1.14' + go-version: '1.16' - uses: actions/cache@v2.1.4 with: path: ~/go/pkg/mod diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0ffb6f3..ef9e5ab 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -77,7 +77,7 @@ brews: homepage: "https://github.com/goodwithtech/dockertags" description: "a CLI tool for fetching container image tags." test: | - system "#{bin}/program --version" + system "#{bin}/dockertags --version" dockers: - image_templates: diff --git a/Dockerfile b/Dockerfile index 0896af2..ca68eea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.13-alpine AS builder +FROM golang:1.16-alpine AS builder COPY go.mod go.sum /app/ WORKDIR /app/ RUN apk --no-cache add git diff --git a/go.mod b/go.mod index ef85bf6..5d88358 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/goodwithtech/dockertags -go 1.13 +go 1.16 replace github.com/docker/cli => github.com/docker/cli v0.0.0-20180920165730-54c19e67f69c