ConceptsServices
Sources
The source of a service is where its code comes from. A service has exactly one source.
A git repository: Ferry clones the code and builds an image.
1 / 3
How Ferry finds the source
A source is a git repository, a Docker image or an upload. Ferry reads it from the settings of the service.
| The service has | Source |
|---|---|
| An image | A Docker image |
| A repository and no image | A git repository |
| No image and no repository | An upload |
Change the source
Set the new source. Clear the old source in the same command.
ferry update api --image ghcr.io/you/api:1.4 --repo ""Thus Ferry never forgets a repository or an image by accident.