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.

Added workflow input.

Mike Cao04a05bbf26b0
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index d3ee4ee2a..1e070a7c2 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -5,6 +5,11 @@ on:
tags:
- 'v*.*.*'
workflow_dispatch:
+ inputs:
+ manual_tag:
+ description: 'Optional image tag (e.g. 1.2.3, beta, nightly)'
+ required: false
+ default: ''
jobs:
build:
@@ -54,8 +59,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
- type=ref,event=pr
- type=sha
+ type=raw,value=latest,enable=${{ github.event_name == 'workflow_dispatch' }}
- name: Build and push Docker image
id: build-and-push