From 1e3557b5157493dd056078aa1a270dcdbe86d50a Mon Sep 17 00:00:00 2001 From: hsc Date: Mon, 7 Apr 2025 17:41:37 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=20hello.sh?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了多余的空行 - 保留了 Dev-Go 版本信息 - 保留了 Hello World 输出 - 保留了作者信息 --- .drone.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 45e9c3f..f58e800 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,6 @@ name: default steps: - name: run-hello-script - image: docker.1ms.run/alpine:latest # 必须指定基础镜像(如alpine/bash) + image: docker.1ms.run/alpine/java:latest # 必须指定基础镜像(如alpine/bash) commands: - - chmod +x hello.sh - - ./hello.sh + - java -version