File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
1414FROM ${BUILDER} AS build
1515WORKDIR /go/src/sigs.k8s.io/aws-encryption-provider
1616ARG TAG
1717COPY . ./
1818ENV 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
You can’t perform that action at this time.
0 commit comments