This commit is contained in:
parent
06a99cb372
commit
ba6fcf3f0e
@ -20,5 +20,5 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- cd /usr/share/repos/$DRONE_REPO_NAME
|
- cd /usr/share/repos/$DRONE_REPO_NAME
|
||||||
- git checkout $DRONE_COMMIT_BRANCH
|
- git checkout $DRONE_COMMIT_BRANCH
|
||||||
- docker build . -t ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-$(git rev-parse --short HEAD)"
|
- docker build . -t ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-"$(git rev-parse --short HEAD)"
|
||||||
- docker tag ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-$(git rev-parse --short HEAD)" ${DRONE_REPO_NAME}:latest
|
- docker tag ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-$(git rev-parse --short HEAD)" ${DRONE_REPO_NAME}:latest
|
Loading…
Reference in New Issue
Block a user