- name: alpine
image: alpine
environment:
MAC_USER:
from_secret: MAC_USER
commands:
- echo $MAC_USER
- echo ${DRONE_BRANCH}/${DRONE_TAG}/${DRONE_COMMIT}
- BUILD_DIR=.drone-ci-cd/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_BUILD_NUMBER}
- echo $BUILD_DIR
- echo 'git clone -b ${DRONE_REPO_BRANCH} ${DRONE_REMOTE_URL} --recursive .'
+ echo $MAC_USER
********
+ BUILD_DIR=.drone-ci-cd/docker/drone/67
+ echo $BUILD_DIR
.drone-ci-cd/docker/drone/67
+ echo 'git clone -b master http://git.haitanyule.com/docker/drone.git --recursive .'
git clone -b master http://git.haitanyule.com/docker/drone.git --recursive .
- echo ${DRONE_BRANCH}/${DRONE_TAG}/${DRONE_COMMIT}
it doesn’t work.