Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add custom tag input to build-push-action-image workflow (#19534)
rebelice8c51a067aa68
diff --git a/.github/workflows/build-push-action-image.yml b/.github/workflows/build-push-action-image.ymlindex 8301644bbd..77442b6e7e 100644--- a/.github/workflows/build-push-action-image.yml+++ b/.github/workflows/build-push-action-image.yml@@ -2,6 +2,11 @@ name: Build push action imageon:workflow_dispatch:+ inputs:+ tag:+ description: 'Image tag (e.g., latest, 1.0.0)'+ required: false+ default: ''push:branches:- 'release/*.*.*'@@ -21,7 +26,9 @@ jobs:- name: Extract build argsid: extract_build_argsrun: |- if [[ "${{ github.ref_name }}" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then+ if [[ -n "${{ inputs.tag }}" ]]; then+ VERSION="${{ inputs.tag }}"+ elif [[ "${{ github.ref_name }}" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; thenVERSION=$(echo "${{ github.ref_name }}" | sed 's/release\///')elseVERSION="latest"@@ -56,7 +63,9 @@ jobs:- name: Extract build argsid: extract_build_argsrun: |- if [[ "${{ github.ref_name }}" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then+ if [[ -n "${{ inputs.tag }}" ]]; then+ VERSION="${{ inputs.tag }}"+ elif [[ "${{ github.ref_name }}" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+$ ]]; thenVERSION=$(echo "${{ github.ref_name }}" | sed 's/release\///')elseVERSION="latest"