File tree Expand file tree Collapse file tree 2 files changed +41
-17
lines changed
Expand file tree Collapse file tree 2 files changed +41
-17
lines changed Original file line number Diff line number Diff line change 1- name : Publish & Test 'nightly'
1+ name : Publish 'nightly' to Docker Hub
22
33on :
44 workflow_dispatch : # Can be manually triggered
6363 yanwk/comfyui-boot:nightly
6464 yanwk/comfyui-boot:nightly-${{ steps.date.outputs.date }}-${{ steps.commit.outputs.short }}
6565 push : true
66- # Load to local Docker repository so it can be used by `docker run` below.
67- load : true
68-
69- - name : Run container - List env vars
70- run : |
71- docker run --rm \
72- --name show-env \
73- yanwk/comfyui-boot:nightly \
74- env
75-
76- - name : Run container - Quick-Test
77- run : |
78- docker run --rm \
79- --name comfyui-quick-test \
80- -e CLI_ARGS="--quick-test-for-ci --cpu" \
81- yanwk/comfyui-boot:nightly
Original file line number Diff line number Diff line change 1+ name : Test 'nightly' from Docker Hub
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_run :
6+ workflows : ["Publish 'nightly' to Docker Hub"]
7+ types :
8+ - completed
9+
10+ jobs :
11+ test-image-nightly :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Maximize build disk space
15+ uses : easimon/maximize-build-space@master
16+ with :
17+ overprovision-lvm : ' true'
18+ remove-android : ' true'
19+ remove-dotnet : ' true'
20+ remove-haskell : ' true'
21+ remove-codeql : ' true'
22+ remove-docker-images : ' true'
23+ swap-size-mb : 512
24+
25+ - name : Pull image from Docker Hub
26+ run : docker pull docker.io/yanwk/comfyui-boot:nightly
27+
28+ - name : Show container environment variables
29+ run : |
30+ docker run --rm \
31+ --name show-env \
32+ docker.io/yanwk/comfyui-boot:nightly \
33+ env
34+
35+ - name : Run container with quick-test
36+ run : |
37+ docker run --rm \
38+ --name comfyui-quick-test \
39+ -e CLI_ARGS="--quick-test-for-ci --cpu" \
40+ docker.io/yanwk/comfyui-boot:nightly
You can’t perform that action at this time.
0 commit comments