chainguard-dev / apko

Build OCI images from APK packages directly without Dockerfile

Home Page:https://apko.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow to extract meta information from the package

Dentrax opened this issue · comments

My use case is to consume the package.version information by exporting as a environment variable for the container image.

Idea (by Ariadne): Declare the env variable like the following:

environment:
  FOO_VERSION: ${{packages['foo'].version}}