Giuseppe Scrivano
16e22dbbe3
vendor: update c/storage and c/image
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-05-12 03:47:42 +02:00
Daniel J Walsh
e247f02a4f
Vendor in containers/(common, storage, image)
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-05-02 17:16:10 -04:00
Daniel J Walsh
857b36ca87
Update vendor of storage,common,image
...
Preparing for release candidate.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-04-12 06:40:02 -04:00
Daniel J Walsh
dc17195bd9
Vendor in new opencontainers/selinux
...
Also update vendor of containers/common,buildah,storage,image
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2069586
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-04-08 09:02:52 -04:00
Aditya R
410d286608
vendor: bump c/image to main/9a9cd9
...
Bump c/image to upstream main/9a9cd9 so podman could use new race-free
code.
Signed-off-by: Aditya R <arajan@redhat.com>
2022-03-02 18:34:24 +05:30
Ashley Cui
569319d397
Vendor in containers/common@main
...
Signed-off-by: Ashley Cui <acui@redhat.com>
2022-02-28 16:23:26 -05:00
dependabot[bot]
daf51eafee
Bump github.com/containers/image/v5 from 5.19.0 to 5.19.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.19.0 to 5.19.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.19.0...v5.19.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-03 16:25:23 +00:00
dependabot[bot]
ab22a688d8
Bump github.com/containers/image/v5 from 5.18.0 to 5.19.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.18.0 to 5.19.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.18.0...v5.19.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 15:15:46 +00:00
Paul Holzinger
0151e10b62
update buildah to latest and use new network stack
...
Make sure buildah uses the new network stack.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-01-12 17:40:12 +01:00
Valentin Rothberg
5bdd571b1e
compat API: allow enforcing short-names resolution to Docker Hub
...
The Docker-compatible REST API has historically behaved just as the rest
of Podman and Buildah (and the atomic Docker in older RHEL/Fedora) where
`containers-registries.conf` is centrally controlling which registries
a short name may resolve to during pull or local image lookups. Please
refer to a blog for more details [1].
Docker, however, is only resolving short names to docker.io which has
been reported (see #12320 ) to break certain clients who rely on this
behavior. In order to support this scenario, `containers.conf(5)`
received a new option to control whether Podman's compat API resolves
to docker.io only or behaves as before.
Most endpoints allow for directly normalizing parameters that represent
an image. If set in containers.conf, Podman will then normalize the
references directly to docker.io. The build endpoint is an outlier
since images are also referenced in Dockerfiles. The Buildah API,
however, supports specifying a custom `types.SystemContext` in which
we can set a field that enforces short-name resolution to docker.io
in `c/image/pkg/shortnames`.
Notice that this a "hybrid" approach of doing the normalization directly
in the compat endpoints *and* in `pkg/shortnames` by passing a system
context. Doing such a hybrid approach is neccessary since the compat
and the libpod endpoints share the same `libimage.Runtime` which makes
a global enforcement via the `libimage.Runtime.systemContext`
impossible. Having two separate runtimes for the compat and the libpod
endpoints seems risky and not generally applicable to all endpoints.
[1] https://www.redhat.com/sysadmin/container-image-short-names
Fixes : #12320
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-11-30 14:22:52 +01:00
dependabot[bot]
73e95d1c3e
Bump github.com/containers/image/v5 from 5.16.1 to 5.17.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.16.1 to 5.17.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.16.1...v5.17.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 17:01:27 +00:00
dependabot[bot]
675d2d0c1a
Bump github.com/containers/image/v5 from 5.16.0 to 5.16.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.16.0 to 5.16.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.16.0...v5.16.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 12:24:29 +00:00
dependabot[bot]
f5ce02b227
Bump github.com/containers/image/v5 from 5.15.2 to 5.16.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.15.2 to 5.16.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.15.2...v5.16.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-26 13:21:26 +00:00
dependabot[bot]
82bb999e36
Bump github.com/containers/image/v5 from 5.15.1 to 5.15.2
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.15.1 to 5.15.2.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.15.1...v5.15.2 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 12:28:10 +00:00
dependabot[bot]
c1b7787a28
Bump github.com/containers/image/v5 from 5.15.0 to 5.15.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.15.0 to 5.15.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.15.0...v5.15.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 19:29:15 +00:00
dependabot[bot]
58672847ee
Bump github.com/containers/image/v5 from 5.14.0 to 5.15.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.14.0 to 5.15.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.14.0...v5.15.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 11:33:58 +00:00
dependabot[bot]
23a938fa26
Bump github.com/containers/image/v5 from 5.13.2 to 5.14.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.13.2 to 5.14.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.13.2...v5.14.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-25 04:54:29 -04:00
Daniel J Walsh
b6662eed3f
Vendor in containers/common v0.40.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-06-17 14:59:42 -04:00
dependabot[bot]
466d2004cd
Bump github.com/containers/image/v5 from 5.11.1 to 5.12.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.11.1 to 5.12.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.11.1...v5.12.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 13:28:59 +00:00
dependabot[bot]
8a3df76ef9
Bump github.com/containers/image/v5 from 5.11.0 to 5.11.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.11.0...v5.11.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-21 07:57:31 +00:00
dependabot[bot]
3627c4b691
Bump github.com/containers/image/v5 from 5.10.5 to 5.11.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.10.5 to 5.11.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.10.5...v5.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 09:45:08 +00:00
dependabot[bot]
f46b34ecd2
Bump github.com/containers/common from 0.35.0 to 0.35.3
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.35.0 to 0.35.3.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.35.0...v0.35.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 15:03:28 +01:00
Valentin Rothberg
68414537c1
vendor github.com/containers/image v5.10.2
...
Fixes : #8559
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-02-09 19:05:15 +01:00
dependabot-preview[bot]
b74f939fb5
Bump github.com/containers/image/v5 from 5.10.0 to 5.10.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.10.0...v5.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-01-29 10:27:35 +01:00
dependabot-preview[bot]
75c3b33899
Bump github.com/containers/image/v5 from 5.9.0 to 5.10.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.9.0...v5.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-28 04:51:57 -05:00
dependabot-preview[bot]
35ee3eb9c3
Bump github.com/containers/image/v5 from 5.8.1 to 5.9.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.8.1 to 5.9.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.8.1...v5.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-12-08 06:56:55 -05:00
Daniel J Walsh
0bad9f1ad7
vendor in containers/storage v1.24.1 containers/image v5.8.1
...
These vendors fix the handling of homedirs.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-19 16:09:53 -05:00
Valentin Rothberg
8e4a42aa42
short-name aliasing
...
Add support for short-name aliasing.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-11-13 15:40:06 +01:00
Daniel J Walsh
2099c86f33
build(deps): bump github.com/containers/common from 0.26.0 to 0.26.3
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.26.0 to 0.26.3.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](containers/common@v0.26.0...v0.26.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-27 07:25:23 -04:00
Daniel J Walsh
8d3c7b4202
Bump github.com/rootless-containers/rootlesskit from 0.10.0 to 0.10.1
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.10.0...v0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-17 16:20:10 -04:00
Valentin Rothberg
7fea46752c
support multi-image (docker) archives
...
Support loading and saving tarballs with more than one image.
Add a new `/libpod/images/export` endpoint to the rest API to
allow for exporting/saving multiple images into an archive.
Note that a non-release version of containers/image is vendored.
A release version must be vendored before cutting a new Podman
release. We force the containers/image version via a replace in
the go.mod file; this way go won't try to match the versions.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-09-08 08:47:19 +02:00
dependabot-preview[bot]
8a25e6ab6e
Bump github.com/containers/image/v5 from 5.5.1 to 5.5.2
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.5.1 to 5.5.2.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.5.1...v5.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-19 05:57:00 -04:00
Valentin Rothberg
ac4f4b1482
vendor github.com/containers/image/v5@v5.5.1
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-17 17:27:04 +02:00
Valentin Rothberg
dc80267b59
compat handlers: add X-Registry-Auth header support
...
* Support the `X-Registry-Auth` http-request header.
* The content of the header is a base64 encoded JSON payload which can
either be a single auth config or a map of auth configs (user+pw or
token) with the corresponding registries being the keys. Vanilla
Docker, projectatomic Docker and the bindings are transparantly
supported.
* Add a hidden `--registries-conf` flag. Buildah exposes the same
flag, mostly for testing purposes.
* Do all credential parsing in the client (i.e., `cmd/podman`) pass
the username and password in the backend instead of unparsed
credentials.
* Add a `pkg/auth` which handles most of the heavy lifting.
* Go through the authentication-handling code of most commands, bindings
and endpoints. Migrate them to the new code and fix issues as seen.
A final evaluation and more tests is still required *after* this
change.
* The manifest-push endpoint is missing certain parameters and should
use the ABI function instead. Adding auth-support isn't really
possible without these parts working.
* The container commands and endpoints (i.e., create and run) have not
been changed yet. The APIs don't yet account for the authfile.
* Add authentication tests to `pkg/bindings`.
Fixes : #6384
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-29 15:39:37 +02:00
dependabot-preview[bot]
164768c3b9
Bump github.com/containers/image/v5 from 5.4.3 to 5.4.4
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.4.3 to 5.4.4.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.4.3...v5.4.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-11 14:40:55 -04:00
Daniel J Walsh
cfd64d3e2c
Bump containers/image to v5.4.3
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-07 14:23:59 -04:00
Valentin Rothberg
42fcdbf1a8
vendor c/image v5.4.2
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-07 12:09:48 +02:00
Daniel J Walsh
366001fb5f
Update vendor of boltdb and containers/image
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-29 06:16:27 -04:00
dependabot-preview[bot]
93b9008540
build(deps): bump github.com/containers/image/v5 from 5.2.0 to 5.2.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.2.0...v5.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-06 20:49:48 -05:00
Valentin Rothberg
801977b40d
vendor github.com/containers/image/v5@v5.2.0
...
See release notes:
https://github.com/containers/image/releases/tag/v5.2.0
Fixes : #4877
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-05 09:55:50 +01:00
Daniel J Walsh
50ece79387
build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.0.0...v5.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-20 09:30:47 -05:00
Nalin Dahyabhai
a4a70b4506
bump containers/image to v5.0.0, buildah to v1.11.4
...
Move to containers/image v5 and containers/buildah to v1.11.4.
Replace an equality check with a type assertion when checking for a
docker.ErrUnauthorizedForCredentials in `podman login`.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2019-10-29 13:35:18 -04:00