Skip to content

Commit

Permalink
Update GH Actions
Browse files Browse the repository at this point in the history
All images will be tagged with date.
'cu124-megapak' will auto build every week.
  • Loading branch information
YanWenKun committed Aug 7, 2024
1 parent ee16126 commit 3d012dd
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-comfy3d-pt22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
environment: Publish to Docker Hub
runs-on: ubuntu-latest
steps:
-
-
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
with:
overprovision-lvm: 'true'
remove-android: 'true'
-
-
name: Git checkout
uses: actions/checkout@v4
-
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-comfy3d-pt23.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
environment: Publish to Docker Hub
runs-on: ubuntu-latest
steps:
-
-
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
with:
overprovision-lvm: 'true'
remove-android: 'true'
-
-
name: Git checkout
uses: actions/checkout@v4
-
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build-cu121-megapak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ jobs:
environment: Publish to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Get current date
-
name: Get current date
id: date
run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
- name: Maximize build disk space
-
name: Maximize build disk space
uses: easimon/maximize-build-space@master
with:
overprovision-lvm: 'true'
remove-android: 'true'
-
-
name: Git checkout
uses: actions/checkout@v4
-
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/build-cu121.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ jobs:
environment: Publish to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Maximize build disk space
-
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
with:
overprovision-lvm: 'true'
remove-android: 'true'
-
-
name: Git checkout
uses: actions/checkout@v4
-
Expand All @@ -48,4 +53,5 @@ jobs:
tags: |
yanwk/comfyui-boot:latest
yanwk/comfyui-boot:cu121
yanwk/comfyui-boot:cu121-${{ steps.date.outputs.date }}
push: true
13 changes: 8 additions & 5 deletions .github/workflows/build-cu124-megapak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Publish 'cu124-megapak' to Docker Hub

on:
workflow_dispatch: # Can be manually triggered
# schedule: # Runs on every Monday, 07:00 UTC
# - cron: '0 7 * * 1'
schedule: # Runs on every Monday, 07:00 UTC
- cron: '0 7 * * 1'
push:
branches: [ main ]
paths-ignore:
Expand All @@ -19,15 +19,17 @@ jobs:
environment: Publish to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Get current date
-
name: Get current date
id: date
run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
- name: Maximize build disk space
-
name: Maximize build disk space
uses: easimon/maximize-build-space@master
with:
overprovision-lvm: 'true'
remove-android: 'true'
-
-
name: Git checkout
uses: actions/checkout@v4
-
Expand All @@ -50,4 +52,5 @@ jobs:
file: ./cu124-megapak/Dockerfile
tags: |
yanwk/comfyui-boot:cu124-megapak
yanwk/comfyui-boot:cu124-megapak-${{ steps.date.outputs.date }}
push: true
13 changes: 10 additions & 3 deletions .github/workflows/build-rocm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,20 @@ jobs:
environment: Publish to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Maximize build disk space
-
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
with:
overprovision-lvm: 'true'
remove-android: 'true'
remove-dotnet: 'true'
remove-docker-images: 'true'
swap-size-mb: 512
-
-
name: Git checkout
uses: actions/checkout@v4
-
Expand All @@ -48,5 +53,7 @@ jobs:
with:
context: ./rocm
file: ./rocm/Dockerfile
tags: yanwk/comfyui-boot:rocm
tags: |
yanwk/comfyui-boot:rocm
yanwk/comfyui-boot:rocm-${{ steps.date.outputs.date }}
push: true

0 comments on commit 3d012dd

Please sign in to comment.