2024-03-17 11:01:42 +03:00
|
|
|
name: manylinux
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "main"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-and-publish:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python: [3.9]
|
|
|
|
qt: [6.4.2, 6.5.3, 6.6.2]
|
|
|
|
image: [manylinux_2_31]
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Login to ghcr.io
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
with:
|
2024-03-17 11:02:19 +03:00
|
|
|
registry: ghcr.io
|
2024-03-17 11:01:42 +03:00
|
|
|
username: ${{ github.actor }}
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and push
|
|
|
|
uses: docker/build-push-action@v5
|
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
file: ${{ matrix.image }}/Dockerfile
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
push: true
|
|
|
|
tags: ghcr.io/python-LimeReport/${{ matrix.image }}:Py-${{ matrix.python }}-Qt-${{ matrix.qt }}
|