Como usar pipeline do gitlab para publicar um projeto

Estou tentando fazer o CI/CD de um projeto, mas não consigo utilizar o comando VTEX login xxxx dentro do pipeline, eu subo uma imagem docker com o node e instalo o cli da VTEX, mas o login não funciona porque ele quer abrir um browser que não tem suporte pelo docker, alguém já fez algo parecido ? Existe alguma forma de fazer o login passand usuario e senha ou um token ?

Vi uma discussão sobre isso um tempo atrás, nessa thread não chegaram a nenhuma solução oficial, mas tem pontos interessantes aqui, vale conferir.

I’m currently building some custom Github Actions for my team to automate deployments, I will share once done, and they are working without issues. I have to modify the Toolbelt due to the custom yes / no prompts for some of the commands.

E fora isso achei um repo bem recente relacionado com actions do GitHub talvez te de uma base: GitHub - vtex/action-toolbelt-login: Perform login with VTEX Toolbelt using App Key/Token

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.