diff --git a/.github/workflows/build-backend.yaml b/.github/workflows/build-backend.yaml index 812016a..a140fb2 100644 --- a/.github/workflows/build-backend.yaml +++ b/.github/workflows/build-backend.yaml @@ -3,10 +3,9 @@ name: Create and publish a Backend Docker image on: push: - branches: - - master - - pull_request: + branches: [master] + paths: + - "backend/**" env: REGISTRY: ghcr.io @@ -42,4 +41,4 @@ jobs: context: ./backend/ push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}