From 474002ee988d805d39da79ea244c7585333d5a31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Musante?= Date: Wed, 3 Jul 2024 18:46:18 -0300 Subject: [PATCH] allow pr --- .github/workflows/publish-to-dockerhub.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish-to-dockerhub.yml b/.github/workflows/publish-to-dockerhub.yml index 0904c81..f8e8901 100644 --- a/.github/workflows/publish-to-dockerhub.yml +++ b/.github/workflows/publish-to-dockerhub.yml @@ -9,6 +9,12 @@ on: paths: - '.github/workflows/**' - 'pocketbase/**' + pull_request: + branches: + - '**' + paths: + - '.github/workflows/**' + - 'pocketbase/**' jobs: docker: @@ -25,6 +31,7 @@ jobs: ${{ secrets.DOCKER_HUB_USERNAME }}/pocketbase tags: | type=ref,event=branch + type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}