Skip to content

Commit

Permalink
add inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed May 10, 2024
1 parent ef1fc1f commit 7827f66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ name: Publish Docker image

on:
workflow_dispatch:
push:
tags:
- 'v*'
inputs:
version:
description: Version to release
required: true

jobs:
horaemeta:
Expand All @@ -43,7 +44,7 @@ jobs:
context: .
push: true
file: horaemeta/Dockerfile
tags: apache/horaemeta-server:latest,apache/horaemeta-server:${{github.ref_name}}
tags: apache/horaemeta-server:latest,apache/horaemeta-server:${{ inputs.version }}

horaedb:
if: github.repository_owner == 'apache'
Expand All @@ -63,4 +64,4 @@ jobs:
with:
context: .
push: true
tags: apache/horaedb-server:latest,apache/horaedb-server:${{github.ref_name}}
tags: apache/horaedb-server:latest,apache/horaedb-server:${{ inputs.version }}
File renamed without changes.

0 comments on commit 7827f66

Please sign in to comment.