-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1.24 KB
/
generate-binaries-1.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Generate Binaries-1
on:
workflow_call:
concurrency:
group: generate-binaries
cancel-in-progress: true
jobs:
build_requirements:
name: ${{ matrix.build_linux }} • ${{ matrix.build_arch }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
build_arch: [ "arm64", "amd64" ]
build_linux: [ manylinux, musllinux ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: cloud-py-api/py_bundler
path: py_bundler
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Install dependencies
uses: docker/build-push-action@v4
with:
context: .
file: py_bundler/docker/bundle_release.Dockerfile
build-args: |
BUILD_IMG=ghcr.io/cloud-py-api/py_bundler/${{ matrix.build_linux }}_${{ matrix.build_arch }}:latest
platforms: linux/${{ matrix.build_arch }}
push: false
cache-from: type=gha,scope=binaries-${{ matrix.build_linux }}-${{ matrix.build_arch }}
cache-to: type=gha,mode=min,scope=binaries-${{ matrix.build_linux }}-${{ matrix.build_arch }}