Update Docker workflows to ignore markdown files and documentation in publish triggers

This commit is contained in:
remsky 2025-02-07 02:58:07 -07:00
parent 9a27c745cd
commit 1f354092fe
2 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,9 @@ name: Docker Build and Publish
on: on:
push: push:
tags: [ 'v*.*.*' ] tags: [ 'v*.*.*' ]
paths-ignore:
- '**.md'
- 'docs/**'
workflow_dispatch: workflow_dispatch:
jobs: jobs:

View file

@ -26,8 +26,6 @@ target "_common" {
DEBIAN_FRONTEND = "noninteractive" DEBIAN_FRONTEND = "noninteractive"
DOWNLOAD_MODEL = "${DOWNLOAD_MODEL}" DOWNLOAD_MODEL = "${DOWNLOAD_MODEL}"
} }
cache-from = ["type=registry,ref=${REGISTRY}/${OWNER}/${REPO}-cache"]
cache-to = ["type=registry,ref=${REGISTRY}/${OWNER}/${REPO}-cache,mode=max"]
} }
# Base settings for CPU builds # Base settings for CPU builds