build for 1.0.4-test.

This commit is contained in:
rocketdebris 2025-10-20 15:29:16 -04:00
parent 5601d97782
commit 3f36fedd55

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
export APPS_JSON='[ export APPS_JSON='[
{ {
"url": "https://githaven.org/Shiloh/brotherton-erpnext", "url": "https://githaven.org/Shiloh/brotherton-erpnext",
"branch": "production" "branch": "production"
@ -8,10 +8,10 @@ export APPS_JSON='[
{ {
"url": "https://github.com/frappe/hrms", "url": "https://github.com/frappe/hrms",
"branch": "v15.15.0" "branch": "v15.15.0"
} },
]' ]'
export APPS_JSON_BASE64=$(echo ${APPS_JSON} | base64 -w 0) export APPS_JSON_BASE64=$(echo ${APPS_JSON} | base64 -w 0)
export TAG=1.0.1 # Change this export TAG="1.0.4-test" # Change this
docker build --platform=linux/amd64 \ docker build --platform=linux/amd64 \
--build-arg=FRAPPE_PATH=https://github.com/frappe/frappe \ --build-arg=FRAPPE_PATH=https://github.com/frappe/frappe \
--build-arg=FRAPPE_BRANCH=v15.15.0 \ --build-arg=FRAPPE_BRANCH=v15.15.0 \
@ -20,4 +20,4 @@ docker build --platform=linux/amd64 \
--build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64 \ --build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64 \
--tag=githaven.org/shiloh/frappe_docker:$TAG \ --tag=githaven.org/shiloh/frappe_docker:$TAG \
--file=images/custom/Containerfile . --file=images/custom/Containerfile .
docker push githaven.org/shiloh/frappe_docker:$TAG docker push githaven.org/shiloh/frappe_docker:$TAG