#push to secure docker registry
1 messages Β· Page 1 of 1 (latest)
π yes, you need to perform a docker login to your repository and the SDK's will use those credentials when pushing
Thank you for the quick answer π (sorry I missed this in the FAQ π )
reopening the post π¬
It doesn't work in my github action.
I am trying to do things the proper way and I am using the github action docker/login-action so that my registry creds are cleaned-up from the github runner automatically.
my code is here for context : https://github.com/cubzh/cubzh/pull/109/files
When trying my workflow locally with the act program, I am getting this.
I'll try to run my dagger program directly on my mac (outside of github action and act env)
π€ hum, I'll try to perform the docker login command in Go and not using a github action
using the github action should work though. I'm wondering if act might be doing something funky here
if I use os/exec for docker login I get the exact same error
failed to fetch oauth token: unexpected status: 403 Forbidden
yes ... I am now trying outside of act π€
same error when running the go program manually while being logged in
BUT, if I push using an image name (repo) that already exists in the registry, then it works fine π³
oh !
denied: registry contains 1 repositories, limit is 1
really sorry, it's a limitation by my registry π€¦ββοΈ
π
it's strange that the CI output says "403" though with "failed to fetch oauth token"
π let us know if it's indeed the registry limitation or something else
will let you know !
i'm working on it
have to step out for a bit, pinging @buoyant minnow and @plain lark for visibility π
thanks. I'll go to bed in a few minutes anyway π see you tomorrow π
it seems to be working fine, in act as well
going to sleep, happy π
thanks for the help!
will deploy to prod tomorrow
@torn seal we merged it and it works fine π β¨
https://github.com/cubzh/cubzh/actions/runs/3855530288
our docs deploy in 60 seconds, we are happy π
Thanks again for the help! π
this post can now be closed I think