Skip to content

Commit 6016c3c

Browse files
committed
feat(ci): add ghcr publish workflow and optimize triggers
Adds a new GitHub Action to publish a Docker image to GHCR on merges to main. Also optimizes the triggers for the existing test and docker build workflows to only run when relevant files are changed, reducing unnecessary pipeline runs.
1 parent 4a92b13 commit 6016c3c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/test-app.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ on:
22
pull_request:
33
branches:
44
- main
5+
paths:
6+
- 'src/**'
7+
- 'tests/**'
8+
- 'pyproject.toml'
9+
- 'uv.lock'
510

611
name: test app
712

.github/workflows/test-docker-build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ on:
22
pull_request:
33
branches:
44
- main
5+
paths:
6+
- 'Dockerfile'
7+
- 'src/**'
8+
- 'pyproject.toml'
9+
- 'uv.lock'
510

611
name: test dockerfile
712

0 commit comments

Comments
 (0)