diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 792d22a..7abc31b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,10 +2,10 @@ name: Build and Publish Docker Image on: push: - branches: [main] - tag_push: - paths: - - '*/' # Include all tags in any directory + branches: + - main + tags: + - 'v*' # Trigger on tags that start with 'v' jobs: build-and-publish: