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 08af50f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ name: Publish Docker image

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

jobs:
horaemeta:
if: github.repository_owner == 'apache'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -43,10 +43,9 @@ 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'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -63,4 +62,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 08af50f

Please sign in to comment.