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