Closed DucNgn closed 3 years ago
cc: @akosyakov : I think we used to have these configured, but I do not see them ATM. Would you add them again?
@marcdumais-work Marc do you think you can do it or someone from Ericsson team?
@akosyakov Unfortunately, I don't think anyone in our team has access to Dockerhub credentials.
Marc should have an account on dockerhub which is an owner of theia org.
Marc should have an account on dockerhub which is an owner of theia org.
I'll dig around - maybe I have that account on my personal computer.
@akosyakov confirmed.
I have set the two secrets. I'll relaunch the latest build and see what happens.
Hi @DukeNgn ,
It's not working - docker login
seems to expect a real password, rather than a security token. I have found this action:
https://github.com/marketplace/actions/docker-login
Can you try using it in place of the current manual docker login? I have setup the secrets to match the names in the example.
Re-opening as the login was not yet successful.
Let's try this again - I just updated the secrets and will restart a build to test.
Build ongoing: https://github.com/theia-ide/theia-apps/runs/1763190356
I think it worked but there's a delay before the images are visible. I see one now to it's probably fine: https://hub.docker.com/r/theiaide/theia-https
Description
To log in and publish images to DockerHub, CI-CD requires
DOCKER_USERNAME
andDOCKER_PASSWORD
variables to be present in the repo's secretsAdditional links:
Update:
The names of the required 2 variables in the secrets were updated
DOCKERHUB_USERNAME
DOCKERHUB_TOKEN
cc: @marcdumais-work