Update cd-manual.yml

Added allowed frame url build arg
This commit is contained in:
er-santosh 2024-07-30 13:04:53 +05:45 committed by GitHub
parent de243fded5
commit 33ab3774f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,10 @@ on:
type: string
description: Version
required: true
allowed_frame_url:
type: string
description: Allowed Frame Url
required: true
jobs:
build:
@ -25,7 +29,7 @@ jobs:
with:
image: umami
tags: ${{ matrix.db-type }}-${{ inputs.version }}, ${{ matrix.db-type }}-latest
buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
buildArgs: DATABASE_TYPE=${{ matrix.db-type }} ALLOWED_FRAME_URLS=${{ inputs.allowed_frame_url || "https://deploy.polothemes.com"}}
registry: ghcr.io
multiPlatform: true
platform: linux/amd64,linux/arm64
@ -40,4 +44,4 @@ jobs:
# buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
# registry: docker.io
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# password: ${{ secrets.DOCKER_PASSWORD }}