-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from rosven9856/0.1.0
0.1.0
- Loading branch information
Showing
15 changed files
with
431 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.github | ||
var | ||
vendor | ||
.build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/.idea | ||
/.env | ||
/vendor | ||
.git | ||
.idea | ||
.env | ||
vendor | ||
.build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ARG PHP_VERSION=8.3.10-1 | ||
|
||
FROM rosven9856/php:$PHP_VERSION | ||
|
||
COPY . /usr/bin/app | ||
WORKDIR /usr/bin/app | ||
|
||
RUN composer install | ||
|
||
VOLUME ["/usr/bin/app"] | ||
|
||
ENTRYPOINT ["php", "-f", "/usr/bin/app/app.php"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
name: "Composer package build" | ||
description: "Composer package build from repository using GitHub Actions" | ||
name: "Composer package action" | ||
description: "With this GitHub Action, you can build a package for the PHP Composer package manager." | ||
inputs: | ||
BUILD_DIRECTORY_NAME: | ||
description: "build directory name" | ||
description: "The name of the directory for package building" | ||
default: ".build" | ||
BUILD_FILE_NAME: | ||
description: "package file name" | ||
description: "The name of the built package file" | ||
default: "package.zip" | ||
outputs: | ||
directory: | ||
description: 'The path to the building directory' | ||
path: | ||
description: 'The path to the compiled package archive' | ||
runs: | ||
using: "docker" | ||
image: "Dockerfile" | ||
image: "action.Dockerfile" | ||
args: | ||
- ${{ inputs.BUILD_DIRECTORY_NAME }} | ||
- ${{ inputs.BUILD_FILE_NAME }} | ||
branding: | ||
icon: 'package' | ||
color: 'purple' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.