Tines Image Registry

💡Note

Logging In 

After receiving your API key and tenant name, log in to the Tines registry using the following command (replace API_KEY and tenant-name with your values):

echo $API_KEY | docker login registry.tines.com -u tenant-name --password-stdin

Pulling Images 

You can pull Tines images from the registry as follows:

docker pull registry.tines.com/tines/tines-ruby:v30.2.0
docker pull registry.tines.com/tines/tines-nginx:v30.2.0
docker pull registry.tines.com/tines/tines-app:v30.2.0
docker pull registry.tines.com/tines/tines-app-with-fips:v30.2.0
docker pull registry.tines.com/tines/tines-command-runner:v30.2.0

Available Images 

The following images are available in the Tines registry:

  • tines/tines-ruby

  • tines/tines-command-runner

  • tines/tines-nginx

  • tines/tines-app

  • tines/tines-app-with-fips

  • tines/tines-tunnel

  • tines/command-over-http

  • tines/sql-over-http

Verifying Images 

Tines images can be verified using cosign. Download and install cosign, then run:

cosign verify \
  --key ./cosign.pub \
  registry.tines.com/tines/tines-app-with-fips:latest

Use the following public key for verification:

-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUnTLRvsoHNEC04P2aBriS8p+0dAb
LgXrtHxEyC4R+rh44PB0unsYAEdNeLvPDnnn7GigylmaFwOPeQzLJigV6Q==
-----END PUBLIC KEY-----

Helpful Commands 

Listing the Catalog 

To list all available images in the registry:

#!/bin/bash
# Get the access token
TOKEN=$(curl --proto '=https' --tlsv1.2 \
  -H "Authorization: Basic $(echo -n '<username>:<api key>' | base64)" \
  -X GET "https://hq.tines.io/webhook/51005e85b2ab80feaee4a00133a80380/c7b65e314c887afe444d010c605e36a0" | jq -r .access_token)

# Use the token to query the catalog
curl -i --proto '=https' --tlsv1.2 \
  -H "Authorization: Bearer ${TOKEN}" \
  -X GET "https://registry.tines.com/v2/_catalog"

Listing Tags for an Image 

To list all tags for a specific image:

curl -L --proto '=https' --tlsv1.2 \
  -H "Authorization: Bearer ${TOKEN}" \
  "https://registry.tines.com/v2/tines/tines-app/tags/list"

Looking Up an Image by Digest 

To retrieve an image by its digest:

curl -L --proto '=https' --tlsv1.2 \
  -H "Authorization: Bearer ${TOKEN}" \
  "https://registry.tines.com/v2/tines/tines-app/blobs/sha256:3d0e40e06d3325946c864441bb1192c9100401a0dc8e218c04a39a0a84ef97ae" | jq .
Was this helpful?