canonical / rockcraft

Tool to create OCI Images using the language from Snapcraft and Charmcraft.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for pinning the build and build-base images

arturo-seijas opened this issue · comments

What needs to get done

Add support for pinning the build and build-base images in the rockcraft descriptors to an existing image diggest

Why it needs to get done

The motivation for this request is twofold:

  • Support repeatable builds, with all the advantages this entails
  • Trigger new builds when the base or build-base image changes using widely adopted mechanisms like renovate. Right now there's a workaround to support this but since the base images are not pinned the resulting OCI image can be updated alongside any other change before the PR is merged