From 18074a45b9b35e949b98ade0f9de90b524cb8c0c Mon Sep 17 00:00:00 2001 From: Bernd Mueller Date: Thu, 25 Jan 2024 19:24:01 +0100 Subject: [PATCH] added pull request trigger --- .github/workflows/docker-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 0627cd4c8b..f04e2e8f76 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -12,6 +12,8 @@ on: branches: [ "main", "release/v4.0.x", "release/v3.3.x", "release/v3.2.x", "release/v3.1.x", "release/v3.0.x"] # Publish semver tags as releases. tags: [ 'v*.*.*', 'v*.*.*-lsm' ] + pull_request: + branches: [ "main", "release/v4.0.x", "release/v3.3.x", "release/v3.2.x", "release/v3.1.x", "release/v3.0.x"] env: # Use docker.io for Docker Hub if empty @@ -67,7 +69,7 @@ jobs: tags: | type=raw,value=latest,enable=${{github.ref == 'refs/heads/main'}} type=semver,pattern=v{{major}}.{{minor}} - type=semver,pattern={{version}},value=${{ inputs.tags }},enable=${{ inputs.tags != '' }} + type=semver,pattern=v{{version}},value=${{ inputs.tags }},enable=${{ inputs.tags != '' }} flavor: | latest=false