jenable local builds

This commit is contained in:
jem 2020-11-27 10:56:53 +01:00
parent 0b9a8696cc
commit b1bcb1ea80

View file

@ -15,8 +15,8 @@ class MyBuild(DevopsDockerBuild):
def initialize(project): def initialize(project):
project.build_depends_on('ddadevops>=0.6.1') project.build_depends_on('ddadevops>=0.6.1')
stage = 'notused' stage = 'notused'
dockerhub_user = environ.get('DOCKERHUB_USER', None) dockerhub_user = environ.get('DOCKERHUB_USER', gopass_field_from_path('meissa/web/docker.com', 'login'))
dockerhub_password = environ.get('DOCKERHUB_PASSWORD', None) dockerhub_password = environ.get('DOCKERHUB_PASSWORD', gopass_password_from_path('meissa/web/docker.com'))
config = create_devops_docker_build_config( config = create_devops_docker_build_config(
stage, PROJECT_ROOT_PATH, MODULE, dockerhub_user, dockerhub_password) stage, PROJECT_ROOT_PATH, MODULE, dockerhub_user, dockerhub_password)
build = MyBuild(project, config) build = MyBuild(project, config)