kube
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simple_Not 2023-07-02 00:52:17 +10:00
parent e08fa7a473
commit 9222d1e71f

View File

@ -20,8 +20,11 @@ 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)" - su - hogweed1 -c "eval $(minikube docker-env); 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 - su - hogweed1 -c "eval $(minikube docker-env); 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} - su - hogweed1 -c "eval $(minikube docker-env); 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}" # - 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}:${DRONE_COMMIT_BRANCH}
#- su - hogweed1 -c "minikube image load ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}"