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