Update docker-publish.yml
only trigger when there are backend service code changes.
This commit is contained in:
parent
baa5656fcc
commit
f329d855cf
1 changed files with 4 additions and 0 deletions
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue