From 99d519bb8cf5b7d10e4977e7e94c540c56b31f54 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Wed, 8 Feb 2023 15:36:30 +0800 Subject: [PATCH] =?UTF-8?q?[=20github-action=20]=20=E6=96=B0=E5=A2=9EAgent?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=8E=A7=E5=88=B6=20-=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-push-docker.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml index 19a4d9a..7a85a14 100644 --- a/.github/workflows/build-push-docker.yml +++ b/.github/workflows/build-push-docker.yml @@ -129,13 +129,12 @@ jobs: cd ./agent/target ls echo "start to change timezone to Asia/Shanghai" - timedatectl set-timezone Asia/Shanghai && timedatectl set-ntp true +# timedatectl set-timezone Asia/Shanghai && timedatectl set-ntp true echo "current time is $(date --rfc-3339=seconds | cut -d"+" -f1 | sed "s/ /-/g" | sed "s/:/-/g")" echo "current time is $(date)" echo "start to copy target jar" - echo "AGENT_VERSION=$(date --rfc-3339=seconds | cut -d"+" -f1 | sed "s/ /-/g" | sed "s/:/-/g")" >> - $GITHUB_ENV + echo "AGENT_VERSION=$(date --rfc-3339=seconds | cut -d"+" -f1 | sed "s/ /-/g" | sed "s/:/-/g")" >> $GITHUB_ENV cp ./agent-*.jar ./octopus-agent-${{ env.AGENT_VERSION }}.jar