Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker integration #84

Open
wants to merge 67 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
d495696
initial commit with snapshot
dupuisj Nov 29, 2024
2154fab
Configure GitHub Actions to build and push Docker image
dupuisj Nov 30, 2024
38c76ee
updating models for install
dupuisj Nov 30, 2024
d0a7e50
updating models for install
dupuisj Nov 30, 2024
bdd16a6
downloading model for comfy Essentials node before install
dupuisj Nov 30, 2024
bbea6d4
predownloading models again
dupuisj Nov 30, 2024
1b0d6d8
predownloading models again correcting urls
dupuisj Nov 30, 2024
40c46e5
simpler snapshot with no sdxl download
dupuisj Nov 30, 2024
82213e8
simpler snapshot with no download AND just comfyUI logic
dupuisj Nov 30, 2024
fea0ae8
simpler snapshot with no download AND just comfyUI logic
dupuisj Nov 30, 2024
7846f60
slim nvidia base image +no snapshot
dupuisj Nov 30, 2024
c368063
ajout self-hosted
tech-milky Dec 2, 2024
11a9ae5
Update docker-image.yml
tech-milky Dec 2, 2024
927a908
self-hosted sur dev
tech-milky Dec 2, 2024
3de08a6
nom runner
tech-milky Dec 2, 2024
6fb738c
nom runner bis
tech-milky Dec 2, 2024
350d995
Tag pour runner
cminette-mindoza Dec 2, 2024
7c0bd0f
Image de base
cminette-mindoza Dec 2, 2024
9e05432
DOCKERHUB_REPO
cminette-mindoza Dec 2, 2024
188e231
test config DOCKERHUB_REPO
cminette-mindoza Dec 2, 2024
b837f78
test config DOCKERHUB_REPO
cminette-mindoza Dec 2, 2024
f35c2e0
tags pour build
cminette-mindoza Dec 2, 2024
4487c74
migration vers dockerhub cloud
cminette-mindoza Dec 3, 2024
9238f1f
suppression des autres workflow
cminette-mindoza Dec 3, 2024
5804a63
suppression de buildx en local
cminette-mindoza Dec 3, 2024
d80f299
update idea
cminette-mindoza Dec 3, 2024
991bdf2
Nettoyage
cminette-mindoza Dec 3, 2024
ff2fd3c
Mise dans le cloud
cminette-mindoza Dec 3, 2024
93cc789
debug
cminette-mindoza Dec 3, 2024
b927810
On test des trucs
cminette-mindoza Dec 3, 2024
2e820b7
Suppression des case warnings
cminette-mindoza Dec 3, 2024
ff30a64
syntaxe ?
cminette-mindoza Dec 3, 2024
14d276d
debug
cminette-mindoza Dec 3, 2024
ae6908a
test
cminette-mindoza Dec 3, 2024
4eeccf3
chemin
cminette-mindoza Dec 3, 2024
a54f920
uses
cminette-mindoza Dec 3, 2024
f2ac57e
ordre
cminette-mindoza Dec 3, 2024
32c2653
debug
cminette-mindoza Dec 3, 2024
79912fa
manual buildx version
cminette-mindoza Dec 3, 2024
db1c48d
buildx version
cminette-mindoza Dec 3, 2024
7bb0f05
install cli version
cminette-mindoza Dec 3, 2024
2f35133
debug de partout
cminette-mindoza Dec 3, 2024
e08208e
docker info
cminette-mindoza Dec 3, 2024
6420505
chemin
cminette-mindoza Dec 3, 2024
458a56a
chemin
cminette-mindoza Dec 3, 2024
3c2ba2d
arch
cminette-mindoza Dec 3, 2024
5443d2b
test
cminette-mindoza Dec 3, 2024
e0f3541
back to basics
cminette-mindoza Dec 3, 2024
c5a1271
test de flags
cminette-mindoza Dec 3, 2024
009a829
test de flags
cminette-mindoza Dec 3, 2024
6f5358e
test de flags
cminette-mindoza Dec 3, 2024
0cd22f8
test de flags
cminette-mindoza Dec 3, 2024
12dea29
test buildx
cminette-mindoza Dec 3, 2024
055b890
test image
cminette-mindoza Dec 3, 2024
6ff844c
runner
cminette-mindoza Dec 3, 2024
7e8194c
runner
cminette-mindoza Dec 3, 2024
a2f447f
runner
cminette-mindoza Dec 3, 2024
13a0ebb
runner
cminette-mindoza Dec 3, 2024
d5aaccc
runner
cminette-mindoza Dec 3, 2024
57bbeb4
runner
cminette-mindoza Dec 3, 2024
8df2c42
runner
cminette-mindoza Dec 3, 2024
10cd9b8
authent GH
cminette-mindoza Dec 3, 2024
2a63262
authent GH
cminette-mindoza Dec 3, 2024
927ad17
variation
cminette-mindoza Dec 3, 2024
07294b4
variations
cminette-mindoza Dec 3, 2024
daacf62
variations
cminette-mindoza Dec 3, 2024
dfb0efa
test
cminette-mindoza Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.git
__pycache__/
*.pyc
models/
data/
logs/
58 changes: 0 additions & 58 deletions .github/workflows/dev.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and Push Docker Image

on:
push:
branches: [ docker-integration ]

jobs:
docker:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "${{ vars.DOCKER_USER }}/test001"
install: true

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/runpod-worker-comfy:latest
platforms: linux/amd64
build-args: |
MODEL_TYPE=sdxl
HUGGINGFACE_ACCESS_TOKEN=${{ secrets.HUGGINGFACE_ACCESS_TOKEN }}
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry,push=true' }}
88 changes: 0 additions & 88 deletions .github/workflows/release.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/test.yml

This file was deleted.

7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ venv
data
models
simulated_uploaded
__pycache__
__pycache__
/.idea/php.xml
/.idea/runpod-worker-comfy.iml
/.idea/vcs.xml
/.idea/webResources.xml
/.idea/workspace.xml
Loading