From 2dafb9a4696cc5aeb09b5662ec23994104033aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=A4=9C?= Date: Fri, 21 Jun 2024 20:09:57 +0800 Subject: [PATCH 1/3] fix: deploy --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a9ab18f..7d97cc9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,8 +3,6 @@ name: "deploy" on: push: branches: main - pull_request: - branches: "**" jobs: docker: @@ -25,6 +23,8 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 + env: + DOCKER_BUILD_NO_SUMMARY: true with: platforms: linux/amd64,linux/arm64 push: true From 3ee34164997ab320e1bd6089c437a3051962653c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=A4=9C?= Date: Fri, 21 Jun 2024 20:33:57 +0800 Subject: [PATCH 2/3] fix: deploy --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7d97cc9..d7f4539 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,4 +38,5 @@ jobs: docker pull images.exptech.dev/exptech-docs docker image ls -a cd /home/whes1015 - docker compose up -d \ No newline at end of file + docker compose up -d + docker image rm $(docker images -f "dangling=true" -q) \ No newline at end of file From 324f0090a11dff3fa1eb7b05da6b22a9861234b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=A4=9C?= Date: Fri, 21 Jun 2024 20:39:17 +0800 Subject: [PATCH 3/3] fix: deploy --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d7f4539..54adf8a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,4 +39,5 @@ jobs: docker image ls -a cd /home/whes1015 docker compose up -d - docker image rm $(docker images -f "dangling=true" -q) \ No newline at end of file + docker image rm $(docker images -f "dangling=true" -q) + docker image ls -a \ No newline at end of file