Skip to content

Commit 4f8c163

Browse files
committed
fix(nvidia-bootc): Use INSTRUCTLAB_IMAGE_PULL_SECRET in podman pull command
Signed-off-by: Matthieu Bernardin <[email protected]>
1 parent 85249c0 commit 4f8c163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

training/nvidia-bootc/Containerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ RUN --mount=type=secret,id=instructlab-nvidia-pull/.dockerconfigjson \
209209
IID=$(podman --root /usr/lib/containers/storage pull oci:/run/.input/instructlab-nvidia) && \
210210
podman --root /usr/lib/containers/storage image tag ${IID} ${INSTRUCTLAB_IMAGE}; \
211211
elif [ -f "/run/secrets/${INSTRUCTLAB_IMAGE_PULL_SECRET}/.dockerconfigjson" ]; then \
212-
IID=$(sudo podman --root /usr/lib/containers/storage pull --authfile /run/secrets/instructlab-nvidia-pull/.dockerconfigjson ${INSTRUCTLAB_IMAGE}); \
212+
IID=$(sudo podman --root /usr/lib/containers/storage pull --authfile /run/secrets/${INSTRUCTLAB_IMAGE_PULL_SECRET}/.dockerconfigjson ${INSTRUCTLAB_IMAGE}); \
213213
else \
214214
IID=$(sudo podman --root /usr/lib/containers/storage pull ${INSTRUCTLAB_IMAGE}); \
215215
fi

0 commit comments

Comments
 (0)