Skip to content

Commit

Permalink
Add 'tags' input
Browse files Browse the repository at this point in the history
Allows customizing the pushed DockerHub tags.
  • Loading branch information
ekorh475 committed Apr 25, 2024
1 parent a9c78a3 commit 2075c9e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release-ubi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ on:
workflow_dispatch:
inputs:
version:
description: 'MaxScale version'
required: true
type: string
tags:
description: 'Tags separated by comma'
required: true
type: string
default: 'mariadb/maxscale:insert_version_here-ubi'

jobs:
release:
Expand Down Expand Up @@ -40,7 +47,7 @@ jobs:
MXS_VERSION=${{ github.event.inputs.version }}
platforms: linux/amd64,linux/arm64
tags: |
mariadb/maxscale:${{ github.event.inputs.version }}-ubi
${{ github.event.inputs.tags }}
labels: |
org.opencontainers.image.title=MariaDB MaxScale
org.opencontainers.image.description=MariaDB MaxScale is a database proxy that extends the high availability, scalability, and security of MariaDB Server
Expand All @@ -54,4 +61,5 @@ jobs:
env:
MXS_VERSION: "${{ github.event.inputs.version }}"
REDHAT_API_KEY: "${{ secrets.REDHAT_API_KEY }}"
REDHAT_PROJECT_ID: "${{ secrets.REDHAT_PROJECT_ID }}"
REDHAT_PROJECT_ID: "${{ secrets.REDHAT_PROJECT_ID }}"

0 comments on commit 2075c9e

Please sign in to comment.