Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchross committed Oct 24, 2024
1 parent 6cdc4f4 commit a68487a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ on:
- cron: '34 6 * * *'
push:
branches: [ "main" ]
paths:
- 'docker/**'
- '.github/workflows/docker-publish.yml'
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
paths:
- 'docker/**'
- '.github/workflows/docker-publish.yml'

env:
REGISTRY: ghcr.io
# Customize the image name to specifically mention comfyui
IMAGE_NAME: ${{ github.repository }}-comfyui

jobs:
Expand Down Expand Up @@ -48,7 +53,6 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Customize the tags
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
Expand Down

0 comments on commit a68487a

Please sign in to comment.