mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-25 11:28:50 +01:00
Added Docker labels to manual build.
This commit is contained in:
parent
7e742730ae
commit
a6acd5e099
15
.github/workflows/cd-manual.yml
vendored
15
.github/workflows/cd-manual.yml
vendored
@ -8,6 +8,20 @@ on:
|
|||||||
description: Version
|
description: Version
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
# set Docker OCI Labels
|
||||||
|
DOCKER_LABELS: >
|
||||||
|
org.opencontainers.image.title=${{github.event.repository.name}},
|
||||||
|
org.opencontainers.image.description="Umami is a simple, fast, privacy-focused alternative to Google Analytics",
|
||||||
|
org.opencontainers.image.vendor=${{github.repository_owner}},
|
||||||
|
org.opencontainers.image.licenses="MIT",
|
||||||
|
org.opencontainers.image.version=${{github.ref_name}},
|
||||||
|
org.opencontainers.image.source=${{github.server_url}}/${{github.repository}},
|
||||||
|
org.opencontainers.image.revision=${{github.sha}},
|
||||||
|
org.opencontainers.image.url="https://umami.is/",
|
||||||
|
org.opencontainers.image.documentation="https://umami.is/docs",
|
||||||
|
org.opencontainers.image.base.name="docker.io/library/node:18-alpine"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build, push, and deploy
|
name: Build, push, and deploy
|
||||||
@ -25,6 +39,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
image: umami
|
image: umami
|
||||||
tags: ${{ matrix.db-type }}-${{ inputs.version }}, ${{ matrix.db-type }}-latest
|
tags: ${{ matrix.db-type }}-${{ inputs.version }}, ${{ matrix.db-type }}-latest
|
||||||
|
labels: $DOCKER_LABELS
|
||||||
buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
|
buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
multiPlatform: true
|
multiPlatform: true
|
||||||
|
Loading…
Reference in New Issue
Block a user