Skip to content

Commit

Permalink
Simplify creating multi-arch image
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Oct 16, 2024
1 parent e9b6ed0 commit 3015929
Show file tree
Hide file tree
Showing 61 changed files with 27 additions and 15,824 deletions.
99 changes: 0 additions & 99 deletions .github/workflows/build.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/multi-arch-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
workflow_dispatch:
push:
pull_request:

jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pull manylinux images
run: |
for arch in x86_64 aarch64 ppc64le; do
docker pull quay.io/pypa/manylinux2014_$arch
docker tag quay.io/pypa/manylinux2014_$arch ghcr.io/spack/manylinux2014:latest-$arch
docker push ghcr.io/spack/manylinux2014:latest-$arch
done
docker manifest create ghcr.io/spack/manylinux2014:example \
ghcr.io/spack/manylinux2014:latest-x86_64 \
ghcr.io/spack/manylinux2014:latest-aarch64 \
ghcr.io/spack/manylinux2014:latest-ppc64le
docker login ghcr.io -u ${{ secrets.GITHUB_ACTOR }} -p ${{ secrets.GITHUB_TOKEN }}
docker manifest push ghcr.io/spack/manylinux2014:example
63 changes: 0 additions & 63 deletions .gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 3015929

Please sign in to comment.