Update docker-publish.yml

only trigger when there are backend service code changes.
This commit is contained in:
Yashar Dabiran 2025-02-13 23:33:14 -05:00 committed by GitHub
parent baa5656fcc
commit f329d855cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,10 @@ name: Docker build and publish
on: on:
push: push:
branches: ['main'] branches: ['main']
paths:
- Dockerfile
- main.py
- requirements.txt
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env: env: