3
0

updated drone.yml to use docker hub
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mike Sutton 2022-06-07 16:26:20 +02:00
parent 927a09c1c0
commit fbb444c792

View File

@ -25,7 +25,7 @@ steps:
from_secret: registryLoginsFoss
commands:
- mkdir -p "/root/.docker" && echo $DOCKER_AUTH_CONFIG > "/root/.docker/config.json"
- export BUILD_TARGET=registry.wizewerx.tech/tools/${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}
- export BUILD_TARGET=wizewerx/${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}
- docker build -f ./Dockerfile -t $BUILD_TARGET . && docker push $BUILD_TARGET
trigger:
branch: