Skip to content

Commit

Permalink
Add latest tag to manual build.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Jun 27, 2022
1 parent 3061c31 commit 6b0401a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/cd-manual.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create docker images
name: Create docker images (manual)

on:
workflow_dispatch:
Expand All @@ -7,10 +7,6 @@ on:
type: string
description: Version
required: true
add-latest:
type: boolean
description: Add latest tag
required: false

jobs:
build:
Expand All @@ -28,8 +24,7 @@ jobs:
name: Build & push Docker image for ${{ matrix.db-type }}
with:
image: umami
tags: ${{ matrix.db-type }}-${{ inputs.version }}
addLatest: ${{ inputs.add-latest }}
tags: ${{ matrix.db-type }}-${{ inputs.version }}, ${{ matrix.db-type }}-latest
buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
registry: ghcr.io/${{ github.actor }}
username: ${{ github.actor }}
Expand Down

0 comments on commit 6b0401a

Please sign in to comment.