-
I’ve generated a docker package to the GitHub Container repository for my project. Now I want to take and push it up to Google Container Repository. I’m referencing this example for starters. I tweaked it a bit and tried this:
I took the build part out of the script this thinking I could just submit my image since I already built my image with github actions prior to this. But this doesn’t work. How do I just tell this to push my already existing package/image to GC? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can try with the following steps:
|
Beta Was this translation helpful? Give feedback.
-
Alright you nudged me to the right direction at least, thanks! But I do want to use the new GitHub Docker Container Repository. Old Way: GitHub Packages Docker registryInstalling a package
Authenticating with the
|
Beta Was this translation helpful? Give feedback.
@dschinkel ,
You can try with the following steps:
Login to GitHub Packages (docker login), and pull (docker pull) the image from your GitHub repository.
Get the IMAGE_ID via the “docker images” command, and set new image name and tag (docker tag) with your Google Cloud Container Registry URL for the image.
Login to the Google Cloud Container Registry (if need), and push (docker push) the image to yo…