-
-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Describe the bug
When uploading container images, the recipe is not populated and the interface states "Container does not have recipe locally."
As a consequence, labels / env vars are not populated either.
Apologies if there's a dedicated step I need to do in order to upload the build recipes but I did not find documentation on this.
To Reproduce
container.def
BootStrap: docker
From: python:3.10-slim
%environment
export python="3.10.0"
%labels
Author Test Author
Then apptainer build container.sif container.def followed by a sregistry push --name container container.sif
Expected behavior
When inspecting the container using sregistry inspect or in the browser, I'd expect the python label and/or author to show up. Similar, I'd expect the "labels" tab (/labels) to show the python version and/or author.
Versions:
Sregistry 2.1.0
Apptainer 1.1.8
Docker version 23.0.0, build e92dd87