Skip to content

Commit 672d222

Browse files
Merge branch 'main' into develop-2025-09-16
2 parents 9b52264 + 91cfe1e commit 672d222

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build-and-push-container.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
workflow_dispatch:
1010
inputs:
1111
tag:
12-
required: true
12+
required: false
1313
description: 'Tag to build (e.g., v1.2.3)'
1414

1515

1616
jobs:
17-
docker:
17+
build-jmx-exporter-container:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout repository
@@ -51,9 +51,10 @@ jobs:
5151
tags: |
5252
type=ref,event=branch
5353
type=sha
54-
type=semver,pattern={{major}}.{{minor}}.{{patch}},prefix=int-,match=v(\d.\d.\d)$,event=tag,priority=1200
55-
type=semver,pattern={{version}},enable=true,value=${{ github.event.inputs.tag }},event=branch
54+
type=semver,pattern={{version}},prefix=int-,match=v(\d.\d.\d)$,event=tag,priority=1200
55+
type=semver,pattern={{version}},value=${{ github.event.inputs.tag }},enable={{is_default_branch}}
5656
type=raw,value=latest,event=branch
57+
type=raw,value=dev,enable=${{ startsWith(github.ref_name, 'develop-') }}
5758
5859
- name: Build and push Docker images
5960
id: push

0 commit comments

Comments
 (0)