dl/.gitea/workflows/dl.yml
Michel Roux 6f8a168b86
Some checks failed
dl / docker (push) Failing after 47s
dl / lint (push) Has been cancelled
switch to gitea actions
2023-06-25 11:37:42 +02:00

29 lines
690 B
YAML

name: dl
on: [push]
jobs:
lint:
runs-on: python:3.10
steps:
- uses: actions/checkout@v3
- run: pip install poetry
- run: poetry install
- run: poetry run flake8 .
- run: poetry run mypy .
docker:
runs-on: ubuntu-latest
steps:
- uses: docker/metadata-action@v4
with:
images: dl/xefir
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v4
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}