File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,11 @@ FROM registry.access.redhat.com/ubi8/go-toolset:1.19 AS builder
17
17
# Set user as root
18
18
USER root
19
19
20
- # Automatically set when --platform flag is set, will default to amd64 if no platform is given
21
- ARG TARGETARCH=amd64
20
+ ARG BUILDARCH
22
21
23
22
# Install yq
24
23
ENV YQ_VERSION=v4.44.1
25
- RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH } -o /usr/local/bin/yq && mv ./yq_linux_${TARGETARCH } /usr/local/bin/yq && chmod +x /usr/local/bin/yq
24
+ RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${BUILDARCH } -o /usr/local/bin/yq && mv ./yq_linux_${BUILDARCH } /usr/local/bin/yq && chmod +x /usr/local/bin/yq
26
25
27
26
COPY . /registry
28
27
You can’t perform that action at this time.
0 commit comments