ComfyUI/.github/workflows/docker-build.yml

21 lines
511 B
YAML

name: Build and Publish Docker Image
on:
push:
env:
REGISTRY: ghcr.io
IMAGE_NAME: hiddenswitch/comfyui
jobs:
build:
runs-on: [ self-hosted, Linux, X64, cpu ]
container: gcr.io/kaniko-project/executor:v1.23.2
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Kaniko build
uses: aevea/action-kaniko@master
with:
registry: ghcr.io
password: ${{ secrets.GITHUB_TOKEN }}
image: comfyui