mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-22 09:26:16 +00:00
fix ci
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Publish Docker image
|
||||
name: Publish Docker image and pypi package
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
@@ -9,10 +9,13 @@ jobs:
|
||||
name: Push to pypi
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build and publish to pypi
|
||||
uses: JRubics/poetry-publish@v1.10
|
||||
with:
|
||||
pypi_token: ${{ secrets.PYPI_TOKEN }}
|
||||
ignore_dev_requirements: "yes"
|
||||
extra_build_dependency_packages: "libblas3 liblapack3 liblapack-dev libblas-dev gfortran libatlas-base-dev"
|
||||
push_to_registry:
|
||||
name: Push Docker image to Docker Hub
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
ARG PYTHON_DEP='python3 python3-wheel python3-typing-extensions python3-pandas python3-six python3-dateutil python3-brotli python3-pycryptodome libatlas3-base python3-cryptography python3-scipy androguard python3-flask python3-paho-mqtt python3-ruamel.yaml ca-certificates'
|
||||
ARG PYTHON_DEP='python3 python3-wheel python3-typing-extensions python3-pandas python3-six python3-dateutil python3-brotli python3-pycryptodome libatlas3-base python3-cryptography python3-scipy androguard python3-flask python3-paho-mqtt python3-ruamel.yaml ca-certificates python3-numpy'
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
FROM debian:bullseye-slim AS builder
|
||||
ARG PYTHON_DEP
|
||||
RUN BUILD_DEP='python3-pip python3-setuptools python3-dev libblas-dev liblapack-dev gfortran' ; \
|
||||
RUN BUILD_DEP='python3-pip python3-setuptools python3-dev libblas-dev liblapack-dev gfortran libffi-dev libxml2-dev libxslt1-dev' ; \
|
||||
apt-get update && apt-get install -y --no-install-recommends $BUILD_DEP $PYTHON_DEP;
|
||||
RUN pip3 install --upgrade pip
|
||||
RUN pip3 install poetry
|
||||
|
||||
Generated
+459
-405
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -11,7 +11,7 @@ include = [
|
||||
]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.7.0"
|
||||
python = ">=3.7.0, <4.0.0"
|
||||
paho-mqtt = ">=1.5.0"
|
||||
dash = ">=2"
|
||||
dash-daq = "^0.5.0"
|
||||
|
||||
Reference in New Issue
Block a user