From e691be8fdf478a0ef462055dafe39b85088e06d2 Mon Sep 17 00:00:00 2001 From: Cassio Santos Date: Mon, 14 Mar 2022 14:29:41 -0300 Subject: [PATCH] chore: fix workflow --- .github/workflows/build-frontend.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 }}