You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2023/07/05 13:38:57 UTC

[beam] branch master updated: adds GitHub CLI to runner image (#27342)

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

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new e00e19c0887 adds GitHub CLI to runner image (#27342)
e00e19c0887 is described below

commit e00e19c088729fe743ad0d8396efb85a1f760df6
Author: Vlado Djerek <20...@users.noreply.github.com>
AuthorDate: Wed Jul 5 15:38:50 2023 +0200

    adds GitHub CLI to runner image (#27342)
---
 .github/gh-actions-self-hosted-runners/arc/images/Dockerfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile b/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
index 9ef10a7a09d..be88d230f76 100644
--- a/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
+++ b/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
@@ -45,8 +45,11 @@ RUN curl -OL https://services.gradle.org/distributions/gradle-7.3.3-bin.zip && \
     rm gradle-7.3.3-bin.zip && \
     mv gradle-7.3.3 /usr/local/gradle
 ENV PATH="${PATH}:/usr/local/gradle/bin"
-
-
+#Install GitHub CLI
+RUN curl -OL https://github.com/cli/cli/releases/download/v2.31.0/gh_2.31.0_linux_amd64.tar.gz && \
+    tar -xvf gh_2.31.0_linux_amd64.tar.gz && \
+    rm gh_2.31.0_linux_amd64.tar.gz && \
+    mv gh_2.31.0_linux_amd64/bin/gh /usr/local/bin 
 # Needed to transfer path addtitions to runner environment
 RUN echo PATH=$PATH >> /runnertmp/.env
 USER runner