From 6418769331711bf13a8eddb4b3da56d10de38d6c Mon Sep 17 00:00:00 2001 From: YAN Wenkun Date: Wed, 11 Sep 2024 09:29:34 +0800 Subject: [PATCH] 'nightly' Using base image from docker.io nvcr.io takes more time to download --- .github/workflows/build-nightly.yml | 6 +++++- nightly/Dockerfile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml index ad8c6db..6360ffe 100644 --- a/.github/workflows/build-nightly.yml +++ b/.github/workflows/build-nightly.yml @@ -21,6 +21,10 @@ jobs: name: Get current commit hash id: commit uses: prompt/actions-commit-hash@v3 + - + name: Get current date + id: date + run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT - name: Maximize build disk space uses: easimon/maximize-build-space@master @@ -50,5 +54,5 @@ jobs: file: ./nightly/Dockerfile tags: | yanwk/comfyui-boot:nightly - yanwk/comfyui-boot:nightly-${{ steps.commit.outputs.short }} + yanwk/comfyui-boot:nightly-${{ steps.date.outputs.date }}-${{ steps.commit.outputs.short }} push: true diff --git a/nightly/Dockerfile b/nightly/Dockerfile index 7421556..77c9b5c 100644 --- a/nightly/Dockerfile +++ b/nightly/Dockerfile @@ -13,7 +13,7 @@ # Ref: https://gitlab.com/nvidia/container-images/cuda/-/issues/47 ################################################################################ -FROM nvcr.io/nvidia/cuda:12.6.1-cudnn-devel-ubuntu24.04 +FROM nvidia/cuda:12.6.1-cudnn-devel-ubuntu24.04 RUN --mount=type=cache,target=/var/cache/apt \ apt-get update \