diff --git a/.github/actions/build_cli/action.yml b/.github/actions/build_cli/action.yml index d567814a7..d0661abbc 100644 --- a/.github/actions/build_cli/action.yml +++ b/.github/actions/build_cli/action.yml @@ -44,9 +44,9 @@ runs: shell: bash - name: Install Go - uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a + uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f with: - go-version: "1.18" + go-version: "1.19.1" - name: Build CLI run: | diff --git a/.github/actions/build_debugd/action.yml b/.github/actions/build_debugd/action.yml index 380a66343..62d9e2b0f 100644 --- a/.github/actions/build_debugd/action.yml +++ b/.github/actions/build_debugd/action.yml @@ -11,9 +11,9 @@ runs: using: "composite" steps: - name: Install Go - uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a + uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f with: - go-version: "1.18" + go-version: "1.19.1" - name: Install Dependencies shell: bash diff --git a/.github/actions/pseudo_version/action.yml b/.github/actions/pseudo_version/action.yml index c73760955..757ea8405 100644 --- a/.github/actions/pseudo_version/action.yml +++ b/.github/actions/pseudo_version/action.yml @@ -22,9 +22,9 @@ runs: using: "composite" steps: - name: Install Go - uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a + uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f with: - go-version: "1.18" + go-version: "1.19.1" - name: get pseudo version id: pseudo-version diff --git a/.github/workflows/check-licenses.yml b/.github/workflows/check-licenses.yml index 64b309d85..54683ada7 100644 --- a/.github/workflows/check-licenses.yml +++ b/.github/workflows/check-licenses.yml @@ -20,7 +20,7 @@ jobs: - name: Install Go uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f with: - go-version: "1.18" + go-version: "1.19.1" cache: true - name: Install go-licenses diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 32926af76..b6fe770c6 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Go environment uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f with: - go-version: "1.18" + go-version: "1.19.1" cache: true - name: Install Dependencies diff --git a/.github/workflows/test-lint.yml b/.github/workflows/test-lint.yml index 0f90aeb48..fe0aa563e 100644 --- a/.github/workflows/test-lint.yml +++ b/.github/workflows/test-lint.yml @@ -36,7 +36,7 @@ jobs: - name: Setup Go environment uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f with: - go-version: "1.18" + go-version: "1.19.1" cache: true - name: golangci-lint diff --git a/3rdparty/gcp-guest-agent/Dockerfile b/3rdparty/gcp-guest-agent/Dockerfile index eefb36cd5..22f9591a0 100644 --- a/3rdparty/gcp-guest-agent/Dockerfile +++ b/3rdparty/gcp-guest-agent/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \ git # Install Go -ARG GO_VER=1.18 +ARG GO_VER=1.19.1 RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ rm go${GO_VER}.linux-amd64.tar.gz diff --git a/Dockerfile.build b/Dockerfile.build index a17be2c2d..629c99f5f 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -1,11 +1,11 @@ -FROM fedora@sha256:36af84ba69e21c9ef86a0424a090674c433b2b80c2462e57503886f1d823abe8 as build +FROM fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 as build RUN dnf -y update && \ dnf -y install @development-tools pkg-config iproute iputils wget git jq openssl-devel cryptsetup-libs cryptsetup-devel && \ dnf clean all # Install Go -ARG GO_VER=1.18 +ARG GO_VER=1.19.1 RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ rm go${GO_VER}.linux-amd64.tar.gz diff --git a/access_manager/Dockerfile b/access_manager/Dockerfile index 1fdecaa76..b38b770b2 100644 --- a/access_manager/Dockerfile +++ b/access_manager/Dockerfile @@ -1,11 +1,11 @@ -FROM fedora@sha256:36af84ba69e21c9ef86a0424a090674c433b2b80c2462e57503886f1d823abe8 as build +FROM fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 as build RUN dnf -y update && \ dnf -y install @development-tools pkg-config iproute iputils wget git jq openssl-devel cryptsetup-libs cryptsetup-devel && \ dnf clean all # Install Go -ARG GO_VER=1.18.3 +ARG GO_VER=1.19.1 RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ rm go${GO_VER}.linux-amd64.tar.gz diff --git a/hack/qemu-metadata-api/Dockerfile b/hack/qemu-metadata-api/Dockerfile index 6fa12caca..e3d882c79 100644 --- a/hack/qemu-metadata-api/Dockerfile +++ b/hack/qemu-metadata-api/Dockerfile @@ -4,7 +4,7 @@ RUN dnf -y update && \ dnf -y install libvirt-devel @development-tools pkg-config wget git && \ dnf clean all -ARG GO_VER=1.18.3 +ARG GO_VER=1.19.1 RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ rm go${GO_VER}.linux-amd64.tar.gz diff --git a/joinservice/Dockerfile b/joinservice/Dockerfile index a379f382f..ed0df6ec9 100644 --- a/joinservice/Dockerfile +++ b/joinservice/Dockerfile @@ -1,11 +1,11 @@ -FROM fedora@sha256:36af84ba69e21c9ef86a0424a090674c433b2b80c2462e57503886f1d823abe8 as build +FROM fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 as build RUN dnf -y update && \ dnf install -y iproute iputils wget git && \ dnf clean all # Install Go -ARG GO_VER=1.18.3 +ARG GO_VER=1.19.1 RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ rm go${GO_VER}.linux-amd64.tar.gz @@ -26,6 +26,6 @@ ARG PROJECT_VERSION=0.0.0 RUN CGO_ENABLED=0 go build -o join-service -trimpath -buildvcs=false -ldflags "-s -w -buildid='' -X github.com/edgelesssys/constellation/internal/constants.VersionInfo=${PROJECT_VERSION}" ./cmd/ # We would like to use a scratch image here, but we require CA certificates to be installed for aTLS operations on GCP. -FROM fedora@sha256:36af84ba69e21c9ef86a0424a090674c433b2b80c2462e57503886f1d823abe8 as release +FROM fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 as release COPY --from=build /constellation/joinservice/join-service /joinservice ENTRYPOINT [ "/joinservice" ] diff --git a/kms/Dockerfile b/kms/Dockerfile index b3e097a66..a3d1b836d 100644 --- a/kms/Dockerfile +++ b/kms/Dockerfile @@ -1,11 +1,11 @@ -FROM fedora@sha256:36af84ba69e21c9ef86a0424a090674c433b2b80c2462e57503886f1d823abe8 as build +FROM fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 as build ENV DEBIAN_FRONTEND="noninteractive" RUN dnf -y update && \ dnf install -y wget git # Install Go -ARG GO_VER=1.18.3 +ARG GO_VER=1.19.1 RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ rm go${GO_VER}.linux-amd64.tar.gz @@ -28,6 +28,6 @@ ARG PROJECT_VERSION=0.0.0 RUN CGO_ENABLED=0 go build -o /constellation/build/kmsserver -trimpath -buildvcs=false -ldflags "-s -w -buildid='' -X github.com/edgelesssys/constellation/internal/constants.VersionInfo=${PROJECT_VERSION}" # We would like to use a scratch image here, but we require CA certificates to be installed for aTLS operations on GCP. -FROM fedora@sha256:36af84ba69e21c9ef86a0424a090674c433b2b80c2462e57503886f1d823abe8 as release +FROM fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 as release COPY --from=build /constellation/build/kmsserver /kmsserver ENTRYPOINT ["/kmsserver"] diff --git a/proto/Dockerfile.gen-proto b/proto/Dockerfile.gen-proto index 0c1c4b425..e236319a9 100644 --- a/proto/Dockerfile.gen-proto +++ b/proto/Dockerfile.gen-proto @@ -1,6 +1,6 @@ FROM ubuntu@sha256:7cc0576c7c0ec2384de5cbf245f41567e922aab1b075f3e8ad565f508032df17 as build -ARG GO_VER=1.18 +ARG GO_VER=1.19.1 ARG GEN_GO_VER=1.28.0 ARG GEN_GO_GRPC_VER=1.2.0 ARG PB_VER=3.20.1 diff --git a/verify/Dockerfile b/verify/Dockerfile index 32dfbb315..af3ab0bea 100644 --- a/verify/Dockerfile +++ b/verify/Dockerfile @@ -1,11 +1,11 @@ -FROM fedora@sha256:36af84ba69e21c9ef86a0424a090674c433b2b80c2462e57503886f1d823abe8 as build +FROM fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 as build RUN dnf -y update && \ dnf install -y iproute iputils wget git && \ dnf clean all # Install Go -ARG GO_VER=1.18 +ARG GO_VER=1.19.1 RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ rm go${GO_VER}.linux-amd64.tar.gz