Skip to content

Merge pull request #28 from AnonCatalyst/dependabot/pip/pyqt6-6.7.1 #90

Merge pull request #28 from AnonCatalyst/dependabot/pip/pyqt6-6.7.1

Merge pull request #28 from AnonCatalyst/dependabot/pip/pyqt6-6.7.1 #90

Workflow file for this run

name: Build and Publish Docker Image
on:
push:
branches:
- main
tags:
- 'v*.*.*'
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Docker image
run: |
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t your-image-name:latest --push .
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install build twine
- name: Build and publish Python package
run: |
python -m build
python -m twine upload dist/*
env:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}