Merge pull request #1 from zephrynis/dev

Create Dockerfile and action.yml
This commit is contained in:
Zephrynis
2025-04-15 20:05:11 +01:00
committed by GitHub
2 changed files with 19 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM ghcr.io/blueprintframework/blueprint:v1.11.10
ENV BASE_DIR=/srv/pterodactyl
COPY /github/workspace/. /srv/pterodactyl/.blueprint/dev/
RUN blueprint -build
RUN identifier=$(cat /srv/pterodactyl/.blueprint/dev/conf.yml | grep -m 1 "identifier:" | cut -d ":" -f2 | xargs) && \
cp /srv/pterodactyl/${identifier}.blueprint /github/workspace/${identifier}.blueprint && \
echo "${identifier}.blueprint" >> $GITHUB_OUTPUT

8
action.yml Normal file
View File

@@ -0,0 +1,8 @@
name: 'Blueprint Build'
description: 'Builds a blueprint addon'
outputs:
file:
description: 'The path to the built addon file'
runs:
using: 'docker'
image: 'Dockerfile'