Add latest tag to manual build.

This commit is contained in:
Mike Cao 2022-06-27 15:50:24 -07:00
parent 3061c3166c
commit 6b0401a040

View File

@ -1,4 +1,4 @@
name: Create docker images name: Create docker images (manual)
on: on:
workflow_dispatch: workflow_dispatch:
@ -7,10 +7,6 @@ on:
type: string type: string
description: Version description: Version
required: true required: true
add-latest:
type: boolean
description: Add latest tag
required: false
jobs: jobs:
build: build:
@ -28,8 +24,7 @@ jobs:
name: Build & push Docker image for ${{ matrix.db-type }} name: Build & push Docker image for ${{ matrix.db-type }}
with: with:
image: umami image: umami
tags: ${{ matrix.db-type }}-${{ inputs.version }} tags: ${{ matrix.db-type }}-${{ inputs.version }}, ${{ matrix.db-type }}-latest
addLatest: ${{ inputs.add-latest }}
buildArgs: DATABASE_TYPE=${{ matrix.db-type }} buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
registry: ghcr.io/${{ github.actor }} registry: ghcr.io/${{ github.actor }}
username: ${{ github.actor }} username: ${{ github.actor }}