diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index eb71573..d0202bf 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -5,10 +5,10 @@ on: # branches: [main] branches: - "**" - # tags: - # - v* - # pull_request: - # branches: [main] + tags: + - "v*" + pull_request: + branches: [main] permissions: # To push Docker images to GitHub @@ -51,6 +51,7 @@ jobs: with: file: "Dockerfile.app" platforms: linux/amd64 + context: . push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}