From 6a7155aee7b72402f04783d3bae9edd09783953e Mon Sep 17 00:00:00 2001 From: chrisorz Date: Sat, 3 Dec 2022 01:47:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dpublish=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E6=97=B6docker=E6=8E=A8=E9=80=81=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 4 ++-- scripts/publish.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9c885a3..dcdb3f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,8 @@ version: "3.8" services: backend: - image: "imchrisorz/goods-store-service:0.0.1" + image: "imchrisorz/business-manage-system:latest" restart: always ports: - "3003:3003" - container_name: "goods-store-service" \ No newline at end of file + container_name: "business-manage-system" \ No newline at end of file diff --git a/scripts/publish.sh b/scripts/publish.sh index 260bd21..bc1b8b8 100644 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -19,4 +19,4 @@ docker build -t "${image_name}:${ver}" . docker tag "${image_name}:${ver}" "${image_name}:latest" # docker push "${image_name}:latest" -docker push image_name --all-tags \ No newline at end of file +docker push $image_name --all-tags \ No newline at end of file