Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,37 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: ${{ ! (github.event_name == 'release' && github.event.action == 'published') }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
-
name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ghcr.io/pnx-si/usershub
images: ghcr.io/${{ github.repository_owner }}/usershub
tags: |
type=ref,event=branch
type=ref,event=tag
-
name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and export
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
target: prod
build-args:
DEPS=${{ (github.event_name == 'release' && github.event.action == 'published') && 'pypi' || 'build' }}
Expand Down
24 changes: 13 additions & 11 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile requirements-dev.in
# pip-compile --output-file=requirements-dev.txt requirements-dev.in
#
-e file:dependencies/UsersHub-authentification-module#egg=pypnusershub
# via -r requirements-submodules.in
Expand Down Expand Up @@ -56,14 +56,14 @@ flask-sqlalchemy==3.0.5
# utils-flask-sqlalchemy
flask-wtf==1.2.1
# via -r requirements-common.in
greenlet==3.0.1
# via sqlalchemy
gunicorn==21.2.0
gunicorn==20.1.0
# via -r requirements-common.in
idna==3.4
# via
# email-validator
# requests
importlib-metadata==4.12.0
# via flask
infinity==1.5
# via intervals
intervals==0.9.2
Expand Down Expand Up @@ -95,7 +95,6 @@ marshmallow-sqlalchemy==0.29.0
packaging==23.2
# via
# flask-marshmallow
# gunicorn
# marshmallow
# marshmallow-sqlalchemy
psycopg2==2.9.9
Expand Down Expand Up @@ -123,11 +122,9 @@ sqlalchemy==1.4.50
# marshmallow-sqlalchemy
# pypnusershub
# utils-flask-sqlalchemy
typing-extensions==4.8.0
# via
# alembic
# sqlalchemy
urllib3==2.0.7
typing-extensions==4.9.0
# via alembic
urllib3==1.26.12
# via requests
utils-flask-sqlalchemy==0.3.6
# via pypnusershub
Expand All @@ -145,3 +142,8 @@ wtforms==3.1.0
# wtforms-components
wtforms-components==0.10.5
# via -r requirements-common.in
zipp==3.8.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
24 changes: 12 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile requirements.in
Expand Down Expand Up @@ -54,14 +54,14 @@ flask-sqlalchemy==3.0.5
# utils-flask-sqlalchemy
flask-wtf==1.2.1
# via -r requirements-common.in
greenlet==3.0.1
# via sqlalchemy
gunicorn==21.2.0
gunicorn==20.1.0
# via -r requirements-common.in
idna==3.4
# via
# email-validator
# requests
importlib-metadata==4.12.0
# via flask
infinity==1.5
# via intervals
intervals==0.9.2
Expand Down Expand Up @@ -93,7 +93,6 @@ marshmallow-sqlalchemy==0.29.0
packaging==23.2
# via
# flask-marshmallow
# gunicorn
# marshmallow
# marshmallow-sqlalchemy
psycopg2==2.9.9
Expand All @@ -102,8 +101,6 @@ psycopg2==2.9.9
# pypnusershub
pycparser==2.21
# via cffi
pyparsing==3.0.9
# via packaging
pypnusershub==2.0.0
# via -r requirements-dependencies.in
python-dateutil==2.8.2
Expand All @@ -125,11 +122,9 @@ sqlalchemy==1.4.50
# marshmallow-sqlalchemy
# pypnusershub
# utils-flask-sqlalchemy
typing-extensions==4.8.0
# via
# alembic
# sqlalchemy
urllib3==2.0.7
typing-extensions==4.9.0
# via alembic
urllib3==1.26.12
# via requests
utils-flask-sqlalchemy==0.3.6
# via pypnusershub
Expand All @@ -147,3 +142,8 @@ wtforms==3.1.0
# wtforms-components
wtforms-components==0.10.5
# via -r requirements-common.in
zipp==3.8.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools