Skip to content

Commit

Permalink
Building multiarch container: try using buildah instead of podman
Browse files Browse the repository at this point in the history
  • Loading branch information
emarsden committed Nov 27, 2023
1 parent 12c658b commit a087364
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ jobs:
password: ${{ env.REGISTRY_PASSWORD }}
registry: ${{ env.IMAGE_REGISTRY }}

# We use "buildah build" instead of "podman build", because we are seeing errors on the older
# version of podman installed on the runners.
- name: Build container images with podman
id: build-image
run: |
podman manifest create dash-mpd-cli
podman build . -f etc/Containerfile_linux_amd64 --arch amd64 --tag dash-mpd-cli-linux-amd64 --manifest dash-mpd-cli
podman build . -f etc/Containerfile_linux_aarch64 --arch arm64/v8 --tag dash-mpd-cli-linux-aarch64 --manifest dash-mpd-cli
buildah build . -f etc/Containerfile_linux_amd64 --arch amd64 --tag dash-mpd-cli-linux-amd64 --manifest dash-mpd-cli
buildah build . -f etc/Containerfile_linux_aarch64 --arch arm64/v8 --tag dash-mpd-cli-linux-aarch64 --manifest dash-mpd-cli
- name: Push container image
id: push-to-registry
Expand Down

0 comments on commit a087364

Please sign in to comment.