Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Add option to include latest tag.

Mike Cao5732f2daf62a
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 86f08a04d..757ae90f4 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -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 }}