-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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 | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
Check warning Code scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'Build and Push ComfyUI Dev Container' step
Uses Step Error loading related location Loading |
||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
Check warning Code scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'Build and Push ComfyUI Dev Container' step
Uses Step Error loading related location Loading |
||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
Check warning Code scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'Build and Push ComfyUI Dev Container' step
Uses Step Error loading related location Loading |
||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v6 | ||
Check warning Code scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'Build and Push ComfyUI Dev Container' step
Uses Step Error loading related location Loading |
||
with: | ||
context: ComfyUI | ||
file: Dockerfile.local-cpu | ||
push: true | ||
provenance: true | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ghcr.io/${{ github.repository }}/comfyui-composer:latest | ||
Check warning Code scanning / CodeQL Workflow does not contain permissions Medium
Actions Job or Workflow does not set permissions
|