Add option to include latest tag.

pull/1227/head
Mike Cao 2022-06-24 09:05:15 -07:00
parent 22a31bfe97
commit 5732f2daf6
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,10 @@ on:
type: string
description: Version
required: true
add-latest:
type: boolean
description: Add latest tag
required: false
jobs:
build:
@ -25,6 +29,7 @@ jobs:
with:
image: umami
tags: ${{ matrix.db-type }}-${{ inputs.version }}
addLatest: ${{ inputs.add-latest }}
buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
registry: ghcr.io/${{ github.actor }}
username: ${{ github.actor }}