Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions applications/container_registry.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Container Registry

## Login in UI
We use **Zot Registry** - a lightweight, OCI-native container image registry - as repository for storing and managing container images within EOxHub Workspaces.
You can easily push your custom images to Zot and pull them directly into your **Argo Workflows**.

The credentials can be found in the secret **registry-login** in the [credentials manager](./secret_manager.md) or your workspace.
The login credentials can be found in the secret **registry-login** in the [credentials manager](./secret_manager.md) of your workspace.

```{figure} assets/credentials-manager/registry-credentials-detail.png
---
Expand All @@ -11,13 +12,15 @@ name: registry-credentials-detail
Credential 'registry-login' contains the login information for the container registry: registry server FQDN (URL), username & password
```

## Upload images to registry
### Upload images to registry

Authenticate with the endpoint and push your locally built images using standard tools like Docker or Podman, e.g.:

1. Login
```shell
docker login -u <username> registry.[workspace-name].[cluster].eox.at # e.g. registry.hub-test-ws1.hub-test.eox.at
docker login -u <username> registry.[workspace-name].[cluster].eox.at
# Type in the password when asked.
```
Type in the password when asked.

2. Tag your image
```shell
Expand All @@ -30,4 +33,11 @@ Credential 'registry-login' contains the login information for the container reg
docker push registry.[workspace-name].[cluster].eox.at/my-image:latest
```

After a successful upload, the image is visible in the UI and in the file browser, and can be used in Argo Workflows, etc.
After a successful upload, the image is visible in the UI and in the file browser.

### Reference in Argo
Update your Argo Workflow templates to point to the Zot registry URL in your `container` or `script` definitions.

---

> Official documentation: https://zotregistry.dev
3 changes: 2 additions & 1 deletion inject-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const SERVICE_MAPPING = {
"Credentials Manager": ["credentials-manager"],
"eoAPI": ["eoapi-rw-stac", "eoapi-rw-raster", "eoapi-rw-vector", ],
"Dask Dashboard": ["dask-gateway-dashboard"],
"Publishing Dashboard": ["eodash"]
"Publishing Dashboard": ["eodash"],
"Container Registry": ["zot"]
};

// APPS THAT SHOULD NOT BE GREYED OUT, JUST WARNED
Expand Down
Loading