ci: add obsidian version to CI runner image

This commit is contained in:
Kirill Gavrilov 2025-10-22 00:26:17 +03:00
parent 0c5a41e14a
commit ef7f208370

View file

@ -13,6 +13,10 @@ on:
description: 'Node.js version to use'
type: string
required: true
obsidian_version:
description: 'Obsidian version to test with'
type: string
required: true
debian_version:
description: 'Debian codename version to use'
type: string
@ -20,6 +24,7 @@ on:
env:
NODEJS_VERSION: ${{ inputs.nodejs_version || '22' }}
OBSIDIAN_VERSION: ${{ inputs.obsidian_version || '1.9.14' }}
DEBIAN_VERSION: ${{ inputs.debian_version || 'trixie' }}
IMAGE_NAME: ghcr.io/${{ github.repository }}/ci-runner
@ -45,7 +50,7 @@ jobs:
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=raw,value=node-${{ env.NODEJS_VERSION }}-${{ env.DEBIAN_VERSION }}-slim
type=raw,value=node-${{ env.NODEJS_VERSION }}-obsidian-${{ env.OBSIDIAN_VERSION }}-${{ env.DEBIAN_VERSION }}-slim
labels: |
org.opencontainers.image.title: Obsidian plugins CI runner
org.opencontainers.image.description=Docker image for building and testing obsidian plugins (with E2E tests support)