Skip to content

Commit

Permalink
added pull request trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
bermuell committed Jan 25, 2024
1 parent 0e1e72b commit 18074a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 18074a4

Please sign in to comment.