Skip to content

Commit

Permalink
Merge pull request #88 from ngraef/chore/go-1.19
Browse files Browse the repository at this point in the history
chore: finish update to go 1.19
  • Loading branch information
k8s-ci-robot authored Dec 6, 2022
2 parents 76ede99 + a48eb2c commit 78a0a6f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.15
- uses: actions/cache@v2
go-version: 1.19
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build with Goreleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --snapshot --skip-publish --rm-dist
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.15
go-version: 1.19
- name: GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ARG BUILDER=golang:1.15-alpine
ARG BASE_IMAGE=public.ecr.aws/eks-distro/kubernetes/go-runner:v0.13.0-eks-1-23-1
ARG BUILDER=golang:1.19-alpine
ARG BASE_IMAGE=public.ecr.aws/eks-distro/kubernetes/go-runner:v0.13.0-eks-1-23-9

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

Expand Down

0 comments on commit 78a0a6f

Please sign in to comment.