Commit Graph

3575 Commits

Author SHA1 Message Date
Miloslav Trmač
ff1205ad3a Merge pull request #2892 from aguidirh/RUN-4764
Add support for manifest list signature removal and sparse manifest list stripping
2026-07-13 17:30:06 +02:00
Alex Guidi
51566c51b2 Add support for selective signature removal and sparse manifest list stripping
This commit introduces two new flags for the skopeo copy command to provide
more granular control over multi-architecture image copying:

--remove-list-signatures: Removes only the manifest list signature while
preserving per-instance signatures. This provides finer control than the
existing --remove-signatures flag which removes all signatures.

--strip-sparse-manifest-list: Strips missing instances from manifest lists
when copying only a subset of platforms (using --multi-arch with a platform
list). This is useful for registries that don't support sparse manifest lists.

The --strip-sparse-manifest-list flag requires explicit signature removal
using either --remove-signatures or --remove-list-signatures, as stripping
instances invalidates the manifest list signature.

These flags address scenarios where users need to copy multi-architecture
images to registries with different signature requirements or those that
don't support sparse manifest lists, while still maintaining control over
which signatures are preserved.

Documentation has been updated with usage examples, and integration tests
have been added to verify the new functionality.

Signed-off-by: Alex Guidi <aguidi@redhat.com>
2026-07-13 10:05:42 +02:00
Miloslav Trmač
eb1230cbb5 Merge pull request #2909 from podman-container-tools/renovate/golang.org-x-term-0.x
Update module golang.org/x/term to v0.45.0
2026-07-08 20:59:16 +02:00
renovate[bot]
e6587ea8f6 Update module golang.org/x/term to v0.45.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-08 18:38:33 +00:00
Paul Holzinger
37c2fa32a4 Merge pull request #2908 from mtrmac/yaml
Use `go.yaml.in/yaml/v3` instead of `gopkg.in/yaml.v3`
2026-07-08 13:02:50 +02:00
Miloslav Trmač
02dddcbdf1 Use go.yaml.in/yaml/v3 instead of gopkg.in/yaml.v3
gopkg.in/yaml.v3 is unmaintained; go.yaml.in/yaml/v3
is the current maintained version.

For now, we include both copies either way, but
container-libs have also migrated, so the next time we update,
gopkg.in/yaml.v3 will only be used by test-only stretchr/testify.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2026-07-07 22:12:34 +02:00
Miloslav Trmač
dc3cdb4a44 Merge pull request #2905 from podman-container-tools/renovate/github.com-containers-ocicrypt-1.x
Update module github.com/containers/ocicrypt to v1.3.1
2026-07-07 21:58:11 +02:00
renovate[bot]
163e4a5726 Update module github.com/containers/ocicrypt to v1.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-07 19:46:14 +00:00
Miloslav Trmač
f97a17713e Merge pull request #2906 from podman-container-tools/renovate/go-golang.org-x-crypto-vulnerability
Update module golang.org/x/crypto to v0.52.0 [SECURITY]
2026-07-07 21:45:02 +02:00
renovate[bot]
c4c1e50874 Update module golang.org/x/crypto to v0.52.0 [SECURITY]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-07 19:32:26 +00:00
Miloslav Trmač
228ac3473a Merge pull request #2907 from podman-container-tools/renovate/go-golang.org-x-net-vulnerability
Update module golang.org/x/net to v0.55.0 [SECURITY]
2026-07-07 21:31:02 +02:00
renovate[bot]
390026ff5d Update module golang.org/x/net to v0.55.0 [SECURITY]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-07 19:04:46 +00:00
Miloslav Trmač
9f4cb22849 Merge pull request #2904 from podman-container-tools/renovate/dorny-paths-filter-4.x
Update dorny/paths-filter action to v4.0.2
2026-07-07 21:03:31 +02:00
renovate[bot]
0ad25f3566 Update dorny/paths-filter action to v4.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 21:44:42 +00:00
Miloslav Trmač
66e6e939ae Merge pull request #2902 from Rolv-Apneseth/command_timeout_examples
docs: include examples for --command-timeout duration format
2026-06-26 19:11:45 +02:00
Rolv Apneseth
37be6f6b60 docs: include examples for --command-timeout duration format
Signed-off-by: Rolv Apneseth <rolv.apneseth@gmail.com>
2026-06-26 18:42:16 +02:00
Miloslav Trmač
e47e881c36 Merge pull request #2903 from NateEag/patch-1
Fix minor grammar error in skopeo.1.md
2026-06-26 18:40:38 +02:00
Nate Eagleson
2c8a4bbec2 Fix minor grammar error in skopeo.1.md
Signed-off-by: Nate Eagleson <nate@nateeag.com>
2026-06-26 18:05:10 +02:00
Miloslav Trmač
afcb9f4e66 Merge pull request #2901 from podman-container-tools/renovate/actions-setup-go-6.x
Update actions/setup-go action to v6.5.0
2026-06-26 18:02:59 +02:00
renovate[bot]
128556af59 Update actions/setup-go action to v6.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-24 04:48:54 +00:00
Miloslav Trmač
bd99e93612 Merge pull request #2897 from podman-container-tools/renovate/actions-checkout-7.x
Update actions/checkout action to v7
2026-06-18 16:47:57 +02:00
renovate[bot]
4f36b65559 Update actions/checkout action to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-18 14:12:25 +00:00
Tom Sweeney
e63c258242 Merge pull request #2895 from mtrmac/man-fixes
A few small man page fixes
2026-06-16 11:38:30 -04:00
Miloslav Trmač
b2c98cb0d5 Use correct SEE ALSO heading level in man pages
Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2026-06-16 11:59:42 +02:00
Miloslav Trmač
23b612b6b2 Fix the docker-archive: transport entry in skopeo-list-tags(1)
Use correct markup, and improve the documentation.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2026-06-16 11:59:42 +02:00
Miloslav Trmač
2e6586beb2 Drop a trailing period in skopeo-sync --help documentation
Be consistent with other man pages.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2026-06-16 11:55:14 +02:00
Miloslav Trmač
cc52d2d8b4 Remove a misplaced signatures sentence in skopeo-copy(1)
This was originally a part of a --sign-by paragraph. I don't think
we _really_ need it, the "add a signature" wording should be clear
enough. If we did move it back to --sign-by, we should add it
to all the --sign-... options; it's simpler to just drop it.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2026-06-16 11:55:09 +02:00
Miloslav Trmač
96da3fb7b7 Merge pull request #2893 from podman-container-tools/renovate/golang.org-x-term-0.x
Update module golang.org/x/term to v0.44.0
2026-06-08 20:35:47 +02:00
renovate[bot]
a14ecc090e Update module golang.org/x/term to v0.44.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-08 18:12:30 +00:00
Paul Holzinger
8cf95adb9d Merge pull request #2888 from timcoding1988/using-ghcr-skopeodev-image
[CI]: pull skopeo_cidev image from ghcr instead of quay
2026-06-05 17:48:45 +02:00
Tim Zhou
3720eb613c ci: pull skopeo_cidev image from ghcr instead of quay
The skopeo_cidev image is built and published from the
podman-container-tools/automation repo to
ghcr.io/podman-container-tools/skopeo_cidev.

Signed-off-by: Tim Zhou <tizhou@redhat.com>
2026-06-05 17:20:02 +02:00
Miloslav Trmač
10f72b0c43 Merge pull request #2891 from podman-container-tools/renovate/actions-checkout-6.x
[skip-ci] Update actions/checkout action to v6.0.3
2026-06-05 14:03:41 +02:00
renovate[bot]
1e4340fb11 [skip-ci] Update actions/checkout action to v6.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 18:33:46 +00:00
Miloslav Trmač
ff467ec320 Merge pull request #2887 from timcoding1988/ci-cncf-runners
ci: switch self-hosted runners from Oracle to CNCF Ubuntu
2026-06-04 10:23:48 +02:00
Tim Zhou
ebd211a219 ci: switch self-hosted runners from Oracle to CNCF Ubuntu
The Oracle VM runners are being retired. Migrate the four self-hosted
jobs (validate, doccheck, test_skopeo, ostree_rs_ext) to the equivalent
CNCF Ubuntu runner sizes, and update the actionlint allowlist to match.

Size mapping:
  oracle-vm-2cpu-8gb-x86-64  -> cncf-ubuntu-2-8-x86  (test_skopeo)
  oracle-vm-4cpu-16gb-x86-64 -> cncf-ubuntu-4-16-x86 (validate,
                                                      doccheck,
                                                      ostree_rs_ext)

Signed-off-by: Tim Zhou <tizhou@redhat.com>
2026-06-03 15:44:33 -04:00
Paul Holzinger
a6f223b9c9 Merge pull request #2883 from mtrmac/ci-draft
CI migration
2026-06-01 15:54:18 +02:00
Miloslav Trmač
8eae7a7671 Define IMAGE_TAG in the workflow
The POC used a repo settings variable, but that doesn't
work for pull requests; and it would be hard to maintain
with branches.

Sadly, there seems to be no easy facility to define a file-wide
constant in GitHub actions, so hard-code three copies. Hopefully
Renovate can be set up to update this, then the number of copies
won't matter.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2026-06-01 15:22:51 +02:00
Tim Zhou
c3284d259f ci: add path-filter, Total Success, drop Cirrus leftovers
Signed-off-by: Tim Zhou <tizhou@redhat.com>
2026-05-28 13:43:26 -04:00
Tim Zhou
110eafa71c ci: address review feedback on workflow
Signed-off-by: Tim Zhou <tizhou@redhat.com>
2026-05-28 13:36:33 -04:00
Tim Zhou
ca5a1a551c ci: migrate PR-blocking checks from Cirrus to GitHub Actions
Mirrors validate, doccheck, cross, osx, test_skopeo, and ostree_rs_ext
from containers/skopeo's .cirrus.yml into a GH Actions workflow on
podman-io/skopeo-sandbox.

Signed-off-by: Tim Zhou <tizhou@redhat.com>
2026-05-28 13:36:33 -04:00
Miloslav Trmač
5e1d6f708b Merge pull request #2881 from TomSweeneyRedHat/dev/tsweeney/skopeo-1.23.0
Bump Skopeo to v1.23.0, common 0.68.0, image 5.40.0, storage 1.63.0
2026-05-26 17:29:09 +02:00
Tom Sweeney
55a7347879 Bump to the next dev, v1.24.0-dev
Bump to v1.24.0-dev, the next Skopeo development version.

Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
2026-05-26 11:04:45 -04:00
Tom Sweeney
9645b282ca Bump Skopeo to v1.23.0
Bump Skopeo to v1.23.0 to go out with Podman 6.0.
It appears that I negelcted to bump to 1.23.0-dev after 1.22.0 was
release as I should have.

Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
v1.23.0
2026-05-26 11:03:10 -04:00
Tom Sweeney
09c22b5d2d Bump c/common 0.68.0, c/image 5.40.0, c/storage 1.63.0
Bump the following:

c/common to v0.68.0
c/image to v5.40.0
c/storage to v1.63.0

In preparation for Skopeo v1.23.0 to go out with Podman v6.0

Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
2026-05-26 11:01:20 -04:00
Miloslav Trmač
54eab56a4c Merge pull request #2877 from containers/renovate/common-image-and-storage-deps
Update common, image, and storage deps to 4a820ae
2026-05-18 16:17:31 +02:00
renovate[bot]
e72b1c821b Update common, image, and storage deps to 4a820ae
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-17 20:32:32 +00:00
Miloslav Trmač
e7310406d2 Merge pull request #2874 from aguidirh/add-platform-based-filtering
RUN-4630: copy: add platform-based filtering via --multi-arch flag
2026-05-14 16:55:23 +02:00
Alex Guidi
7a6acb1975 copy: add platform-based filtering via --multi-arch flag
Extends the --multi-arch flag to accept platform specifications,
allowing users to copy specific platforms from multi-architecture
images without requiring digest hashes.

Users can now specify platforms using OS/Architecture pairs:
  skopeo copy --multi-arch=linux/amd64,linux/arm64 docker://src docker://dst

This feature:
- Parses comma-separated platform specifications (e.g., linux/amd64,linux/arm64)
- Copies ALL instances matching each specified platform (including all
  compression variants and other variations)
- Works alongside existing --multi-arch options (system, all, index-only)
- Leverages the InstancePlatforms field added in containers/image

The implementation follows the design from containers/image#1938 and
containers/container-libs#656, providing a more user-friendly alternative
to specifying digest hashes via the Instances field.

Signed-off-by: Alex Guidi <aguidi@redhat.com>
2026-05-13 20:21:39 +02:00
Miloslav Trmač
df5f65813c Merge pull request #2872 from containers/renovate/golang.org-x-term-0.x
Update module golang.org/x/term to v0.43.0
2026-05-11 19:16:42 +02:00
renovate[bot]
1156ffcc43 Update module golang.org/x/term to v0.43.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 16:45:18 +00:00