Skip to content

Use podman and buildah in GHA#181

Merged
webknjaz merged 1 commit intodevelfrom
container-builds/podman
Mar 2, 2021
Merged

Use podman and buildah in GHA#181
webknjaz merged 1 commit intodevelfrom
container-builds/podman

Conversation

@webknjaz
Copy link
Copy Markdown
Member

@webknjaz webknjaz commented Mar 1, 2021

SUMMARY

$sbj. This also fixes the AARCH64 builds.

ISSUE TYPE
  • Packaging Pull Request
ADDITIONAL INFORMATION

N/A

@webknjaz webknjaz self-assigned this Mar 1, 2021
@webknjaz webknjaz force-pushed the container-builds/podman branch 8 times, most recently from 527a102 to 549c909 Compare March 2, 2021 01:48
@webknjaz webknjaz force-pushed the container-builds/podman branch from 549c909 to 0ac3ae7 Compare March 2, 2021 10:45
webknjaz added a commit that referenced this pull request Mar 2, 2021
@webknjaz webknjaz merged commit 0ac3ae7 into devel Mar 2, 2021
@webknjaz webknjaz deleted the container-builds/podman branch March 2, 2021 12:32
webknjaz added a commit to webknjaz/ansible--pylibssh that referenced this pull request Mar 18, 2025
This was caused by a mistake during initial migration from docker to
podman in ansible#181. The original command looked like
`docker buildx build --platform linux/arm64` but the
`redhat-actions/buildah-build` action has an input called `arch:` that
we started using. And we've prefixed the passed value with `linux/`.
It would've been fine if we used the `platform:` input but we didn't.
The consequence was that the images we were making were tagged with an
additional leading `linux/` prefix in the platform metadata which made
it look like `linux/linux/arm64`.

The issue became evident in ansible#648 that attempted to bump the version of
`cibuildwheel`. And the container interaction started failing loudly
as this tool started using the `--platform` option when working with
OCI images in v2.21 [[1]].

[1]: pypa/cibuildwheel#1961
webknjaz added a commit to webknjaz/ansible--pylibssh that referenced this pull request Mar 18, 2025
This was caused by a mistake during the initial migration from docker
to podman in ansible#181. The original command looked like
`docker buildx build --platform linux/arm64` but the
`redhat-actions/buildah-build` action has an input called `arch:` that
we started using. And we've prefixed the passed value with `linux/`.
It would've been fine if we used the `platform:` input but we didn't.
The consequence was that the images we were making were tagged with an
additional leading `linux/` prefix in the platform metadata which made
it look like `linux/linux/arm64`.

The issue became evident in ansible#648 that attempted to bump the version of
`cibuildwheel`. And the container interaction started failing loudly
as this tool started using the `--platform` option when working with
OCI images in v2.21 [[1]].

[1]: pypa/cibuildwheel#1961
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant