GoogleCloudPlatform/artifact-registry-npm-tools

Using Artifact registry in Continuous Integration

Algirdyz opened this issue · 1 comments

Is there a preferred way of using the artifact registry in CI environments?
Right now it seems, that the only way to authenticate is to get 1h long token, which is a bit awkward to use in, for example, github actions.

Are there any plans to get a permanent token to save as a secret for example? Or is there a flow you think is better?

We now support service account credentials in npm configuration which I believe would work for CI flow: https://cloud.devsite.corp.google.com/artifact-registry/docs/nodejs/authentication#auth-password
Please let me know if you have any question. Thanks! :)