mirror of
https://github.com/blueprint-community/action-export.git
synced 2026-02-18 20:01:55 +00:00
Create Dockerfile and action.yml
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user