-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
For a Go application, we need a proper way to create the fully-qualified OCI image name.
The current iteration finds every Go module with an entrypoint, and then generates the following name:
$OCI_IMAGE_BASE/<goModulePath>/<entrypoint-name>.
The documentation lists 2 ways of configuring GitHub Actions:
- Pre-pallet should specify an
oci-image-baselikeoci-image-base: europe-docker.pkg.dev/helloworld-shared-0918. - Repositories created with the system-template from Inventory (using Pallets) should use
oci-image-base: ${{ vars.PALLET_REGISTRY_URL }}.
a. Thevars.PALLET_REGISTRY_URLwill be populated with a more specific value, likeeurope-docker.pkg.dev/pallet-helloworld-0918/pallet-helloworld-0918-default
We also have different ways of structuring our source-code: Some applications want to have their Go source-code in a directory traditionally named src, without wanting to have the src as part of the OCI name. Other applications have their source-code in a directory with the same name as the system, and they want this name to be part of the OCI name.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels