From a32db0bef885d4c157761abd4d008a2695323779 Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 15 Mar 2024 14:36:08 +0400 Subject: [PATCH] Build deb on push for this branch (temp), use SGX 2.23 on Ubuntu 20.04, use Go 1.22 --- .github/workflows/build-deb.yml | 3 +-- docker/deb.Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml index 14c5eb8a..f2d41335 100644 --- a/.github/workflows/build-deb.yml +++ b/.github/workflows/build-deb.yml @@ -2,8 +2,7 @@ name: Build Deb on: push: - tags: - - "*" + branches: [ feat/x-compliance ] jobs: build-deb: diff --git a/docker/deb.Dockerfile b/docker/deb.Dockerfile index a32c0646..3037def0 100644 --- a/docker/deb.Dockerfile +++ b/docker/deb.Dockerfile @@ -1,5 +1,5 @@ ############ Install Intel SGX SDK & SGX PSW -FROM ghcr.io/sigmagmbh/sgx:2.19-bionic as base +FROM ghcr.io/sigmagmbh/sgx:2.23-focal as base RUN wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - RUN apt-get update @@ -18,7 +18,7 @@ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y > /dev/null 2>&1 RUN cargo install protobuf-codegen --version "2.8.1" -f # Install golang -ADD https://go.dev/dl/go1.19.linux-amd64.tar.gz go.linux-amd64.tar.gz +ADD https://go.dev/dl/go1.22.1.linux-amd64.tar.gz go.linux-amd64.tar.gz RUN tar -C /usr/local -xzf go.linux-amd64.tar.gz && rm go.linux-amd64.tar.gz RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@latest && \ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest > /dev/null 2>&1