From 5732f2daf62a1f8a4e8606efaffe9f31a56b7ee1 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Fri, 24 Jun 2022 09:05:15 -0700 Subject: [PATCH] Add option to include latest tag. --- .github/workflows/cd.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 86f08a04..757ae90f 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 }}