💡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-stdinPulling Images
You can pull Tines images from the registry as follows:
docker pull registry.tines.com/tines/tines-ruby:vX.Y.Z
docker pull registry.tines.com/tines/tines-nginx:vX.Y.Z
docker pull registry.tines.com/tines/tines-app:vX.Y.Z
docker pull registry.tines.com/tines/tines-app-with-fips:vX.Y.Z
docker pull registry.tines.com/tines/tines-command-runner:vX.Y.ZImages also support major/minor versions such as vX and vX.Y in addition to the full vX.Y.Z.
Available Images
The following images are available in the Tines registry:
tines/tines-rubytines/tines-command-runnertines/tines-command-runner-fipstines/tines-nginxtines/tines-apptines/tines-app-with-fipstines/tines-tunneltines/command-over-httptines/sql-over-httpredispostgres
ARM support
ARM-compatible images are available starting from version 37.2.0.
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:latestUse 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 .