From 9ce6f213149ab569b51523805941dfe3dea714c0 Mon Sep 17 00:00:00 2001 From: Oxmix Date: Thu, 29 Aug 2024 03:13:03 +0300 Subject: [PATCH] small fixes --- Dockerfile | 2 +- cargo-deployer/tasks.php | 2 +- utils/env.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5f73d2d..d9741d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/$BUILDARCH node:20-alpine as web +FROM --platform=linux/$BUILDARCH node:20-alpine AS web WORKDIR /build COPY ./web . RUN npm i diff --git a/cargo-deployer/tasks.php b/cargo-deployer/tasks.php index ec1e9e1..009dd0e 100755 --- a/cargo-deployer/tasks.php +++ b/cargo-deployer/tasks.php @@ -28,7 +28,7 @@ public function __construct() { $this->containersExecute($result['data']['execs']); echo '['.date('Y-m-d H:i:s').'] End deployments'.PHP_EOL; - $this->push(); + continue; } } else { diff --git a/utils/env.go b/utils/env.go index 831f192..521b18d 100644 --- a/utils/env.go +++ b/utils/env.go @@ -24,7 +24,7 @@ func Env() *Envs { getEnv("ENV", "container"), getEnv("ENDPOINT", "127.0.0.1:8443"), getEnv("NAMESPACE", "ctr-ship"), - getEnv("CARGO_FROM", "oxmix/cargo-deployer:1"), + getEnv("CARGO_FROM", "oxmix/cargo-deployer:1.1"), getEnv("NOTIFY_MATCH", ""), getEnv("NOTIFY_TG_TOKEN", ""), getEnv("NOTIFY_TG_CHAT_ID", ""),