Skip to content

client-node_comfyui-setup #7

client-node_comfyui-setup

client-node_comfyui-setup #7

name: Publish client-node docker images to ghcr.io
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
publish_client-node-comfyui_image:
runs-on: ubuntu-latest
# `GITHUB_TOKEN` permissions for the actions in this job
permissions:
contents: read
packages: write
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: "true"
- uses: actions/checkout@v4
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker image
uses: docker/build-push-action@v5
with:
context: .
file: client-node-comfyui.dockerfile
tags: comfyui-gpu
push: true
provenance: false