diff --git a/.gitea/workflows/CICD_local_test.yaml b/.gitea/workflows/CICD_local_test.yaml index 07e24a602..882177066 100644 --- a/.gitea/workflows/CICD_local_test.yaml +++ b/.gitea/workflows/CICD_local_test.yaml @@ -56,6 +56,6 @@ jobs: docker rm -f rt-sim-training-service || echo "rt-sim-training-service not exist" docker pull gitea.joylink.club/joylink/rt-sim-training-service:local-test docker run --name rt-sim-training-service --restart=always --network net --ip 192.168.53.3 -d -e APP_ENV=local-test -p 9000:9000 -p 19000:19000 -v /usr/local/joylink/logs/rtss:/usr/local/joylink/logs/rtss gitea.joylink.club/joylink/rt-sim-training-service:local-test - - name: 清理tag为none的镜像 - run: | - docker rmi $(docker images --filter "dangling=true" -q) \ No newline at end of file +# - name: 清理tag为none的镜像 +# run: | +# docker rmi $(docker images --filter "dangling=true" -q --no-trunc) 2>/dev/null || echo "No dangling images to remove" \ No newline at end of file diff --git a/.gitea/workflows/CI_release_build.yaml b/.gitea/workflows/CI_release_build.yaml index e072c3371..c07dab7c9 100644 --- a/.gitea/workflows/CI_release_build.yaml +++ b/.gitea/workflows/CI_release_build.yaml @@ -2,7 +2,7 @@ name: 版本发布docker构建并上传 run-name: ${{ gitea.actor }} is testing out Gitea Actions on: release: - types: [published] + types: [ published ] jobs: Docker-Build-Push: @@ -45,9 +45,9 @@ jobs: tags: | gitea.joylink.club/joylink/rt-sim-training-service:${{ github.event.release.tag_name }} gitea.joylink.club/joylink/rt-sim-training-service:latest - - name: 清理tag为none的镜像 - run: | - docker rmi $(docker images --filter "dangling=true" -q) + # - name: 清理tag为none的镜像 + # run: | + # docker rmi $(docker images --filter "dangling=true" -q --no-trunc) 2>/dev/null || echo "No dangling images to remove" # - name: 发布到本地测试环境 # uses: https://gitea.joylink.club/appleboy/ssh-action@v1.0.3 # with: