Skip to content

Commit

Permalink
Push to Dockerhub if edited specific dirs & files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamdasn committed Dec 18, 2023
1 parent d0e5c81 commit 4ed52b2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ name: Dockerhub Publish
on:
push:
branches:
- main # Set this to the branch you want to trigger the workflow
tags:
- 'v*' # This will trigger the workflow for any pushed tags with the 'v' prefix
- main
paths-ignore:
- '.gitignore'
- '.pre-commit-config.yaml'
- '.github/**'
- 'docs/**'
- 'README.md'

jobs:
build-and-push:
Expand Down

0 comments on commit 4ed52b2

Please sign in to comment.