Skip to content

Commit

Permalink
fix: ensure tar wildcard support ia enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Klick <[email protected]>
  • Loading branch information
nathanklick authored Aug 2, 2024
1 parent cff5d19 commit a219bc6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ ARG GH_CLI_VERSION=2.54.0
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
&& if [ "$ARCH" = "i386" ]; then export ARCH=386 ; fi \
&& curl -sL https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_${ARCH}.tar.gz \
| tar -xz --strip-components=2 -C /usr/local/bin "*/bin/gh" \
| tar -xz --wildcards --strip-components=2 -C /usr/local/bin "*/bin/gh" \
&& chmod +x /usr/local/bin/gh
#########################################
## End OS Software Customizations ##
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ ARG GH_CLI_VERSION=2.54.0
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
&& if [ "$ARCH" = "i386" ]; then export ARCH=386 ; fi \
&& curl -sL https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_${ARCH}.tar.gz \
| tar -xz --strip-components=2 -C /usr/local/bin "*/bin/gh" \
| tar -xz --wildcards --strip-components=2 -C /usr/local/bin "*/bin/gh" \
&& chmod +x /usr/local/bin/gh
#########################################
## End OS Software Customizations ##
Expand Down
2 changes: 1 addition & 1 deletion legacy/runner/actions-runner-dind.ubuntu-20.04.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ ARG GH_CLI_VERSION=2.54.0
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
&& if [ "$ARCH" = "i386" ]; then export ARCH=386 ; fi \
&& curl -sL https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_${ARCH}.tar.gz \
| tar -xz --strip-components=2 -C /usr/local/bin "*/bin/gh" \
| tar -xz --wildcards --strip-components=2 -C /usr/local/bin "*/bin/gh" \
&& chmod +x /usr/local/bin/gh
#########################################
## End OS Software Customizations ##
Expand Down
2 changes: 1 addition & 1 deletion legacy/runner/actions-runner-dind.ubuntu-22.04.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ ARG GH_CLI_VERSION=2.54.0
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
&& if [ "$ARCH" = "i386" ]; then export ARCH=386 ; fi \
&& curl -sL https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_${ARCH}.tar.gz \
| tar -xz --strip-components=2 -C /usr/local/bin "*/bin/gh" \
| tar -xz --wildcards --strip-components=2 -C /usr/local/bin "*/bin/gh" \
&& chmod +x /usr/local/bin/gh
#########################################
## End OS Software Customizations ##
Expand Down
2 changes: 1 addition & 1 deletion legacy/runner/actions-runner.ubuntu-20.04.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ ARG GH_CLI_VERSION=2.54.0
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
&& if [ "$ARCH" = "i386" ]; then export ARCH=386 ; fi \
&& curl -sL https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_${ARCH}.tar.gz \
| tar -xz --strip-components=2 -C /usr/local/bin "*/bin/gh" \
| tar -xz --wildcards --strip-components=2 -C /usr/local/bin "*/bin/gh" \
&& chmod +x /usr/local/bin/gh
#########################################
## End OS Software Customizations ##
Expand Down
2 changes: 1 addition & 1 deletion legacy/runner/actions-runner.ubuntu-22.04.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ ARG GH_CLI_VERSION=2.54.0
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
&& if [ "$ARCH" = "i386" ]; then export ARCH=386 ; fi \
&& curl -sL https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_${ARCH}.tar.gz \
| tar -xz --strip-components=2 -C /usr/local/bin "*/bin/gh" \
| tar -xz --wildcards --strip-components=2 -C /usr/local/bin "*/bin/gh" \
&& chmod +x /usr/local/bin/gh
#########################################
## End OS Software Customizations ##
Expand Down

0 comments on commit a219bc6

Please sign in to comment.