refactor: read the image version from a package.json #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The version of an image is the content of a bare
VERSIONfile next to its recipe. Apackage.jsonis the place where a version is expected and bumped everywhere else in the ecosystem, and tools know how to read and increment it.Change
package.json(name,version,private: true,description) in place ofVERSION.actions/build-imagereads the version from it.The image itself does not change:
ci-basestays at 1.0.0 and nothing is republished.Acceptance
ci-basewith the version read fromimages/ci-base/package.json.