debian-forge/stages
Christian Kellner d37bf0375b stages/oci-archive: write history entries
According to the OCI Image Format Specification[1] history entries
for layers in the container are optional; but when trying to push
a container quay.io via skopeo (copy oci-archive:… docker://quay)
it will fail with "Cannot convert an image with 0 history entries".
This seems to come from the containers/image[2] library when the
container is converted back from the docker distribution format
to oci-archive on quay.io. Thus it seems that when skopeo converts
the image to the docker format for the distribution it does not
fill any the history entries, which are then assumed and required
to be there when converting back.
To fix this, insert history entries for each layer that is created.

[1] https://github.com/opencontainers/image-spec/blob/master/config.md
[2] https://github.com/containers/image/
2021-04-07 19:19:16 +01:00
..
org.osbuild.anaconda stages: add org.osbuild.anaconda 2021-02-19 14:42:32 +00:00
org.osbuild.bootiso.mono stages: add org.osbuild.bootiso 2021-02-19 14:42:32 +00:00
org.osbuild.buildstamp stages: add org.osbuild.buildstamp 2021-02-19 14:42:32 +00:00
org.osbuild.chrony stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.debug-shell stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.discinfo stages: add org.osbuild.discinfo 2021-02-19 14:42:32 +00:00
org.osbuild.dracut stages/dracut: new stage to re-create the initrd 2021-02-14 00:01:24 +00:00
org.osbuild.error stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.firewall stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.first-boot stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.fix-bls stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.fstab stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.groups stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.grub2 stages/grub2: set GRUB_CMDLINE_LINUX default 2021-03-03 20:19:39 +00:00
org.osbuild.hostname stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.ignition stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.implantisomd5 stages: add org.osbuild.implantisomd5 2021-02-19 14:42:32 +00:00
org.osbuild.kernel-cmdline stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.keymap stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.kickstart stages/kickstart: add support for 'liveimg' 2021-02-19 14:42:32 +00:00
org.osbuild.locale stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.lorax-script stages: add org.osbuild.lorax-script 2021-02-19 14:42:32 +00:00
org.osbuild.noop stages/noop: accept inputs 2021-02-12 15:55:43 +01:00
org.osbuild.oci-archive stages/oci-archive: write history entries 2021-04-07 19:19:16 +01:00
org.osbuild.ostree osbuild: convert ostree stage to inputs 2021-02-06 12:04:30 +01:00
org.osbuild.ostree.commit stages/ostree.commit: port from assembler 2021-02-12 15:55:43 +01:00
org.osbuild.ostree.init stages/ostree.init: new stage to init a repo 2021-02-12 15:55:43 +01:00
org.osbuild.ostree.preptree stages/preptree: move home dirs to var/home 2021-03-16 21:58:02 +01:00
org.osbuild.ostree.pull stages/ostree.pull: new stage to pull commits 2021-02-12 15:55:43 +01:00
org.osbuild.resolv-conf stages: add org.osbuild.resolv-conf 2021-03-11 12:46:24 +00:00
org.osbuild.rhsm stages: Add org.osbuild.rhsm stage to configure RHSM 2021-01-15 19:07:19 +01:00
org.osbuild.rpm Revert "stages/rpm: truncate the machine id" 2021-03-30 23:52:35 +01:00
org.osbuild.rpm-ostree stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.selinux stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.sysconfig stages: add org.osbuild.sysconfig stage 2021-01-27 17:39:54 +01:00
org.osbuild.systemd stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.tar stages: org.osbuild.tar ported from assembler 2021-02-19 14:42:32 +00:00
org.osbuild.test stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.timezone stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.users stages: use api.arguments 2020-08-25 18:51:55 +02:00
org.osbuild.xorrisofs stages/xorrisofs: ability to set system id 2021-03-14 15:33:07 +01:00
org.osbuild.zipl stages: use api.arguments 2020-08-25 18:51:55 +02:00