File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -204,12 +204,12 @@ RUN for i in /usr/bin/ilab*; do \
204
204
# Added for running as an OCI Container to prevent Overlay on Overlay issues.
205
205
VOLUME /var/lib/containers
206
206
207
- RUN --mount=type=secret,id=instructlab-nvidia-pull /.dockerconfigjson \
207
+ RUN --mount=type=secret,id=${INSTRUCTLAB_IMAGE_PULL_SECRET} /.dockerconfigjson \
208
208
if [ -f "/run/.input/instructlab-nvidia/oci-layout" ]; then \
209
209
IID=$(podman --root /usr/lib/containers/storage pull oci:/run/.input/instructlab-nvidia) && \
210
210
podman --root /usr/lib/containers/storage image tag ${IID} ${INSTRUCTLAB_IMAGE}; \
211
211
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}); \
213
213
else \
214
214
IID=$(sudo podman --root /usr/lib/containers/storage pull ${INSTRUCTLAB_IMAGE}); \
215
215
fi
You can’t perform that action at this time.
0 commit comments