From 9ddd76db00478a5d72be6434199017c32002be3b Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Wed, 16 Oct 2024 14:15:53 +0000 Subject: [PATCH] fix: allow non-v tags to trigger ci, refine ignores --- .github/workflows/build-docker.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-docker.yaml b/.github/workflows/build-docker.yaml index cea6daec..ea83c427 100644 --- a/.github/workflows/build-docker.yaml +++ b/.github/workflows/build-docker.yaml @@ -3,16 +3,23 @@ name: Build Docker on: push: branches: [ "**" ] - # Publish semver tags as releases. - tags: ["v*.*.*"] + tags: [ "**" ] paths-ignore: - ".devcontainer/**" - - ".github/ISSUE_TEMPLATE/**" - - "images/**" - - "playground/**" + - ".github/**" + - "!.github/workflows/build-docker.yaml" + - ".vscode/**" + - "docs/**" - "**.md" pull_request: branches: [ "main" ] + paths-ignore: + - ".devcontainer/**" + - ".github/**" + - "!.github/workflows/build-docker.yaml" + - ".vscode/**" + - "docs/**" + - "**.md" workflow_dispatch: env: