diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0369e4de..027cf67a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,13 @@ name: Publish Docker Image on: - paths: - - Dockerfile.build - - requirements.txt - - .github/workflows/main.yml + push: + branches: + - main + paths: + - Dockerfile.build + - requirements.txt + - .github/workflows/main.yml jobs: build-and-push: