Skip to content

Commit

Permalink
Salva bloco de registro DockerHub
Browse files Browse the repository at this point in the history
  • Loading branch information
bcbernardo committed May 12, 2023
1 parent 9b8a90c commit 39de51f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion implementar_fluxos.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,17 @@
)


logger.info("Configurando conexão com registro `{}`...", DOCKER_REGISTRO_URL)
logger.info("Configurando bloco de conexão com registro `{}`...", DOCKER_REGISTRO_URL)
bloco_docker_registro = DockerRegistry(
username=DOCKER_REGISTRO_USUARIO,
password=DOCKER_REGISTRO_SENHA,
registry_url=DOCKER_REGISTRO_URL,
reauth=True,
)
bloco_docker_registro.save(
name="docker-registro-impulso",
overwrite=True,
)

logger.info("Configurando bloco de infraestrutura com Docker...")
bloco_docker_container = DockerContainer(
Expand Down

0 comments on commit 39de51f

Please sign in to comment.