docs/current_docs/partials/cookbook/containers/_publish-private-registry.mdx
The following Dagger Function publishes a just-in-time container image to a private registry.
<Tabs groupId="language" queryString="sdk"> <TabItem value="go" label="Go">Publish a just-in-time container image to Docker Hub, using the account username user and the password set in the PASSWORD environment variable:
Publish a just-in-time container image to GitHub Container Registry, using the account username user and the GitHub personal access token set in the PASSWORD environment variable: