mirror of
https://github.com/caprover/caprover
synced 2025-12-12 14:25:39 +00:00
added debug release
This commit is contained in:
@@ -22,7 +22,7 @@ if ! [ $(id -u) = 0 ]; then
|
||||
fi
|
||||
|
||||
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||
if [[ "$BRANCH" != "release" ]]; then
|
||||
if [[ "$BRANCH" != "testing-release" ]]; then
|
||||
echo 'Not on release branch! Aborting script!';
|
||||
exit 1;
|
||||
fi
|
||||
@@ -36,9 +36,6 @@ node ./dev-scripts/validate-build-version-docker-hub.js
|
||||
|
||||
source ./version
|
||||
|
||||
echo $CAPROVER_VERSION
|
||||
exit
|
||||
|
||||
docker build -t $IMAGE_NAME:$CAPROVER_VERSION -t $IMAGE_NAME:latest -f dockerfile-captain.release .
|
||||
docker push $IMAGE_NAME:$CAPROVER_VERSION
|
||||
docker push $IMAGE_NAME:latest
|
||||
|
||||
Reference in New Issue
Block a user