Skip to main content


Use Arbitrium with with Google Container Registry#

You need to have on hand#

  • The GCP Region of your GCR
  • Your GCP Project Name
  • Your JSON Key for the IAM User

To get this information, go to GCP Console#

  1. Go to your Project
  2. Go to Container Registry
  3. Copy the Full Repository Name

Split the Full Repository Name#

Given this Full Repository:

Your Repository will be:

and your Image will be: project-name/example

Generate your JSON Key File#

Follow GCP Steps to generate this file.


Please Verify that your Google Service Account has the right permissions to manage your container registry

You will end with a file that contains something similar

"type": "service_account",
"project_id": "project-name",
"private_key_id": "12345abcdef12345",
"private_key": "-----BEGIN PRIVATE KEY-----\n[...]\n-----END PRIVATE KEY-----\n",
"client_email": "",
"client_id": "1234567890",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_x509_cert_url": ""

We are ready to add the app to Arbitrium#

API Example#


The username will always be _json_key

"docker_repository": "",
"docker_image": "project-name/repository-name",
"docker_tag": "v1",
"private_username": "_json_key",
"private_token": "<The Content of JSON key file as JSON String>",

The Private Token will look something like this

"private_token": "{\"type\": \"service_account\", \"project_id\": \"project-name\", \"private_key_id\": \"12345abcdef12345\", \"private_key\": \"-----BEGIN PRIVATE KEY-----\\n[...]\\n-----END PRIVATE KEY-----\\n\", \"client_email\": \"\", \"client_id\": \"1234567890\", \"auth_uri\": \"\", \"token_uri\": \"\", \"auth_provider_x509_cert_url\": \"\", \"client_x509_cert_url\": \"\"}",

From Dashboard#

From our Dashboard, The Private registry token will be the content of your JSON key file

You can copy the content directly without Stringify it#