feat: add support for nixpacks as a builder

Closes #5338
This commit is contained in:
Jose Diaz-Gonzalez committed 2023-10-15 20:25:09 -04:00
1 parent 76a979e139
commit fe6a0f796e
21 files changed
+648 -5

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
trigger-builder-nixpacks-post-app-rename-setup() {
declare desc="updates settings for new app"
declare trigger="post-app-rename-setup"
declare OLD_APP="$1" NEW_APP="$2"
fn-plugin-property-clone "builder-nixpacks" "$OLD_APP" "$NEW_APP"
fn-plugin-property-destroy "builder-nixpacks" "$OLD_APP"
}
trigger-builder-nixpacks-post-app-rename-setup "$@"