Skip to content

Commit 8536e16

Browse files
committed
Pin wharfie version in harvester-os Dockerfile
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
1 parent e2d1387 commit 8536e16

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

package/harvester-os/Dockerfile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@ ARG BASE_OS_IMAGE
22
FROM ${BASE_OS_IMAGE}
33

44
ARG ARCH=amd64
5-
RUN curl -sfL https://github.com/rancher/wharfie/releases/download/v0.6.8/wharfie-${ARCH} -o /usr/bin/wharfie && chmod +x /usr/bin/wharfie
5+
6+
# renovate: datasource=github-release-attachments depName=rancher/wharfie
7+
ARG WHARFIE_VERSION=v0.6.8
8+
# renovate: datasource=github-release-attachments depName=rancher/wharfie digestVersion=v0.6.8
9+
ARG WHARFIE_SUM_amd64=e6b5d27e5b5815ece828e3d2f4012ccec1e40dceb4e639815d6cdbc0f22e2fa8
10+
# renovate: datasource=github-release-attachments depName=rancher/wharfie digestVersion=v0.6.8
11+
ARG WHARFIE_SUM_arm64=36e50fdd08577cd2adea613141c58830cb73ab4d46ef3f90db62337075518a2d
12+
ENV WHARFIE_SUM="WHARFIE_SUM_${ARCH}"
13+
14+
RUN curl -sfL https://github.com/rancher/wharfie/releases/download/${WHARFIE_VERSION}/wharfie-${ARCH} -o /usr/bin/wharfie \
15+
&& echo "${!WHARFIE_SUM}" /usr/bin/wharfie | sha256sum -c - \
16+
&& chmod +x /usr/bin/wharfie
617

718
COPY files/ /
819
RUN chmod 0600 /system/oem/*

0 commit comments

Comments
 (0)