Skip to content

feat(comfy-ui): more user-friendly starting/saving scripts #11

feat(comfy-ui): more user-friendly starting/saving scripts

feat(comfy-ui): more user-friendly starting/saving scripts #11

name: Build and Push ComfyUI Dev Container
on:
push:
paths:
- ".github/workflows/comfyui-dev-container.yml"
- "ComfyUI/Dockerfile.local-cpu"
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
attestations: write
id-token: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/super-protocol/solutions/comfyui-composer
tags: |
type=ref,event=branch,enable=${{ github.ref != 'refs/heads/main' }}
type=ref,event=pr
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && !startsWith(github.event_name, 'pull_request') }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ComfyUI
file: ComfyUI/Dockerfile.local-cpu
provenance: true
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: |
org.opencontainers.image.title=ComfyUI Development Container
org.opencontainers.image.description=Base development image for ComfyUI