Update main.yml

This commit is contained in:
sᴧᴍᴜᴇʟ ᴍ 2024-02-14 00:18:11 +00:00 committed by GitHub
parent 99f8171fa8
commit 4a0b5045e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: