diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 2f6fa4f5..fbf03c89 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,7 +18,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: "1.16.x" + go-version: "1.19.x" - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/go_test.yml b/.github/workflows/go_test.yml index 9060cf7f..2b5fa40c 100644 --- a/.github/workflows/go_test.yml +++ b/.github/workflows/go_test.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.17.x, 1.18.x] + go-version: [1.17.x, 1.18.x, 1.19.x] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: diff --git a/auth_server/Dockerfile b/auth_server/Dockerfile index 76813b60..3c5a7004 100644 --- a/auth_server/Dockerfile +++ b/auth_server/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17-alpine3.14 as build +FROM golang:1.19-alpine3.16 as build ARG VERSION ENV VERSION "${VERSION}" @@ -12,7 +12,7 @@ COPY . /build WORKDIR /build RUN make build -FROM alpine:3.14 +FROM alpine:3.19 COPY --from=build /build/auth_server /docker_auth/ COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ ENTRYPOINT ["/docker_auth/auth_server"]