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