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
Valentin Rothberg
0f7d54b026
migrate Podman to containers/common/libimage
...
Migrate the Podman code base over to `common/libimage` which replaces
`libpod/image` and a lot of glue code entirely.
Note that I tried to leave bread crumbs for changed tests.
Miscellaneous changes:
* Some errors yield different messages which required to alter some
tests.
* I fixed some pre-existing issues in the code. Others were marked as
`//TODO`s to prevent the PR from exploding.
* The `NamesHistory` of an image is returned as is from the storage.
Previously, we did some filtering which I think is undesirable.
Instead we should return the data as stored in the storage.
* Touched handlers use the ABI interfaces where possible.
* Local image resolution: previously Podman would match "foo" on
"myfoo". This behaviour has been changed and Podman will now
only match on repository boundaries such that "foo" would match
"my/foo" but not "myfoo". I consider the old behaviour to be a
bug, at the very least an exotic corner case.
* Futhermore, "foo:none" does *not* resolve to a local image "foo"
without tag anymore. It's a hill I am (almost) willing to die on.
* `image prune` prints the IDs of pruned images. Previously, in some
cases, the names were printed instead. The API clearly states ID,
so we should stick to it.
* Compat endpoint image removal with _force_ deletes the entire not
only the specified tag.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-05-05 11:30:12 +02: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