From cb877be46b4a55e911b4d690085e88018a93f2f3 Mon Sep 17 00:00:00 2001 From: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Date: Thu, 18 Sep 2025 01:21:49 +0200 Subject: [PATCH] fix: Fix publish draft binary gh action (#174) --- .github/workflows/task-publish-binary | 2 ++ docker/datahaven-production.Dockerfile | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/task-publish-binary b/.github/workflows/task-publish-binary index 649fb14a..0985f612 100644 --- a/.github/workflows/task-publish-binary +++ b/.github/workflows/task-publish-binary @@ -10,6 +10,8 @@ on: to: description: tag (ex. v0.2.0) to generate release note and binaries from required: true + pull_request: + branches: [main] jobs: build-binary: diff --git a/docker/datahaven-production.Dockerfile b/docker/datahaven-production.Dockerfile index 11f0587b..2bf338ee 100644 --- a/docker/datahaven-production.Dockerfile +++ b/docker/datahaven-production.Dockerfile @@ -16,10 +16,11 @@ WORKDIR / RUN echo "*** Installing Basic dependencies ***" RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates RUN apt install --assume-yes git clang curl libpq-dev libssl-dev llvm libudev-dev make protobuf-compiler pkg-config unzip -RUN echo "Installing protoc v${PROTOC_VER}..." \ -RUN curl -Lo protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/protoc-${PROTOC_VER}-linux-x86_64.zip" \ - && unzip -q protoc.zip -d /usr/local/ \ - && rm protoc.zip \ + +RUN echo "*** Installing protoc v${PROTOC_VER} ***" +RUN curl -Lo /tmp/protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/protoc-${PROTOC_VER}-linux-x86_64.zip" \ + && unzip -q /tmp/protoc.zip -d /usr/local/ \ + && rm /tmp/protoc.zip RUN set -e