This is an automated email from the ASF dual-hosted git repository.

laiyingchun pushed a commit to branch refactor_github_workflows
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/refactor_github_workflows by 
this push:
     new 6b487b0fd arg
6b487b0fd is described below

commit 6b487b0fd78833fdb7db18fb7b2cd3f39a473541
Author: Yingchun Lai <[email protected]>
AuthorDate: Fri Jun 24 15:52:27 2022 +0800

    arg
---
 docker/thirdparties-bin/Dockerfile | 2 +-
 docker/thirdparties-src/Dockerfile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/thirdparties-bin/Dockerfile 
b/docker/thirdparties-bin/Dockerfile
index 20cc86b60..49928a182 100644
--- a/docker/thirdparties-bin/Dockerfile
+++ b/docker/thirdparties-bin/Dockerfile
@@ -30,7 +30,7 @@ WORKDIR /root
 COPY --from=builder /root/thirdparties-src.zip /root/thirdparties-src.zip
 
 # NOTE: the rocksdb lib is built in portable mode.
-RUN git clone --depth=1 --branch=${GITHUB_BRANCH} ${GITHUB_REPOSITORY_URL} \
+RUN git clone --depth=1 --branch=$((GITHUB_BRANCH)) $((GITHUB_REPOSITORY_URL)) 
\
     && cd incubator-pegasus/rdsn/thirdparty \
     && unzip /root/thirdparties-src.zip -d . \
     && cmake -DCMAKE_BUILD_TYPE=Release -DROCKSDB_PORTABLE=ON -B build/ . \
diff --git a/docker/thirdparties-src/Dockerfile 
b/docker/thirdparties-src/Dockerfile
index a62f3cff8..8429dc73c 100644
--- a/docker/thirdparties-src/Dockerfile
+++ b/docker/thirdparties-src/Dockerfile
@@ -22,7 +22,7 @@ FROM apache/pegasus:build-env-centos7 as builder
 
 WORKDIR /root
 
-RUN git clone --depth=1 --branch=${GITHUB_BRANCH} ${GITHUB_REPOSITORY_URL}
+RUN git clone --depth=1 --branch=$((GITHUB_BRANCH)) $((GITHUB_REPOSITORY_URL))
 
 RUN cd incubator-pegasus/rdsn/thirdparty \
     && mkdir -p build \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to