whoan / docker-build-with-cache-action

:octocat: Build and push docker images caching each stage to reduce build time
MIT License
341 stars 54 forks source link

Add Support for Google Cloud Artifact Registry #158

Open jvanderen1 opened 5 months ago

jvanderen1 commented 5 months ago

Unfortunately, Google Cloud Container Registry is being deprecated in favor of Google Cloud Artifact Registry. I tried to use this Github Action using the registry syntax within the documentation:

Docker push syntax:

docker push <LOCATION>-docker.pkg.dev/<PROJECT_ID>/<REPOSITORY>/<IMAGE>

Registry syntax:

<LOCATION>-docker.pkg.dev/<PROJECT_ID>/<REPOSITORY>

But this does not seem to work. I see the following error:

No images detected for registry (<LOCATION>-docker.pkg.dev/<PROJECT_ID>/<REPOSITORY>)

Can we add support for Google Cloud Artifact Registry?

whoan commented 5 months ago

Agree @jvanderen1 , that's something the action should support. I really can't promise when I can work on it, so I tagged it as "good first issue" in case someone can contribute with the implementation. Thanks for the detailed issue.