Skip to content

Commit

Permalink
feat: add yq executable to both builders
Browse files Browse the repository at this point in the history
Add to both for consistency.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
  • Loading branch information
Unix4ever committed Dec 26, 2023
1 parent 95301d5 commit 0a6d241
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ RUN apk add --update --no-cache \
socat \
swtpm \
tar \
yq \
xz

# Install gcloud
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile.actions-runner-ubuntu-22.04
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM summerwind/actions-runner-dind:ubuntu-22.04
# renovate: datasource=github-releases depName=google/go-containerregistry
ARG CRANE_VERSION=v0.16.1
# renovate: datasource=github-releases depName=mikefarah/yq
ARG YQ_VERSION=v4.40.5
USER root
RUN apt update && \
apt upgrade -y && \
Expand All @@ -19,5 +21,8 @@ RUN apt update && \
docker.io \
diffoscope \
gh

RUN curl -SL https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -o /usr/bin/yq && chmod +x /usr/bin/yq
RUN curl -SL https://github.com/google/go-containerregistry/releases/download/${CRANE_VERSION}/go-containerregistry_Linux_x86_64.tar.gz | tar xzf - -C /usr/local/bin/ crane
USER runner

0 comments on commit 0a6d241

Please sign in to comment.