This commit is contained in:
parent
8594ca2fee
commit
f8ed20539a
@ -21,6 +21,7 @@ steps:
|
||||
- cd /usr/share/repos/$DRONE_REPO_NAME
|
||||
- git checkout $DRONE_COMMIT_BRANCH
|
||||
- docker build . -t ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-"$(git rev-parse --short HEAD)"
|
||||
### мастер/dev
|
||||
- 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}:${DRONE_COMMIT_BRANCH}
|
||||
- docker tag ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-"$(git rev-parse --short HEAD)" ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}
|
||||
- su - hogweed1 -c "minikube image load ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}"
|
||||
|
Loading…
Reference in New Issue
Block a user