Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Bump gunicorn from 20.1.0 to 22.0.0 #31

Bump gunicorn from 20.1.0 to 22.0.0

Bump gunicorn from 20.1.0 to 22.0.0 #31

Workflow file for this run

name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
name: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- run: pip install pipenv
- run: pipenv install --dev --system --deploy --ignore-pipfile
- run: xenon --max-average A --max-modules B --max-absolute B .
- run: mypy --ignore-missing-imports app
- run: flake8 .
- run: black --line-length=120 --check .
- run: isort --check --line-length 120 --profile black .
create_release:
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
name: create_release
runs-on: ubuntu-latest
needs: [ tests ]
steps:
- uses: actions/checkout@v4
- run: echo "::set-output name=date::$(date +'%FT%H%M%SZ')"
id: date
- uses: docker/login-action@v3
with:
registry: binkcore.azurecr.io
username: binkcore
password: ${{ secrets.ACR_BINKCORE_PASSWORD }}
- uses: docker/build-push-action@v5
with:
push: true
tags: |
binkcore.azurecr.io/skiron:${{ steps.date.outputs.date }}
binkcore.azurecr.io/skiron:latest