|
@@ -36,8 +36,8 @@ build() {
|
|
|
echo "[+] Tag: ${full_tag}"
|
|
echo "[+] Tag: ${full_tag}"
|
|
|
echo "[+] ================================"
|
|
echo "[+] ================================"
|
|
|
|
|
|
|
|
- echo "[+] Building Docker image (linux/amd64)..."
|
|
|
|
|
- docker buildx build --platform linux/amd64 -t "${image_name}:${version}" .
|
|
|
|
|
|
|
+ echo "[+] Building Docker image..."
|
|
|
|
|
+ docker build -t "${image_name}:${version}" .
|
|
|
|
|
|
|
|
echo "[+] Tagging image..."
|
|
echo "[+] Tagging image..."
|
|
|
docker tag "${image_name}:${version}" "${full_tag}"
|
|
docker tag "${image_name}:${version}" "${full_tag}"
|
|
@@ -58,8 +58,8 @@ restart_app() {
|
|
|
local remote=''
|
|
local remote=''
|
|
|
local cmd=''
|
|
local cmd=''
|
|
|
local full_tag="${registry}/${image_name}:${version}-${env}"
|
|
local full_tag="${registry}/${image_name}:${version}-${env}"
|
|
|
- local redis_host=''
|
|
|
|
|
|
|
|
|
|
|
|
+ local redis_host=''
|
|
|
local redis_password='redis@aitori!@#'
|
|
local redis_password='redis@aitori!@#'
|
|
|
local redis_port='6379'
|
|
local redis_port='6379'
|
|
|
local redis_db='1'
|
|
local redis_db='1'
|