diff --git a/.gitea/workflows/build-docker.yml b/.github/workflows/build-docker.yml similarity index 71% rename from .gitea/workflows/build-docker.yml rename to .github/workflows/build-docker.yml index 7b7235d..71bea4c 100644 --- a/.gitea/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -6,13 +6,16 @@ on: jobs: test: - runs-on: python:3.12 + runs-on: ubuntu-latest + container: python:3.12 steps: - - python -m pip install poetry - - poetry install - - poetry env info - - poetry run python manage.py migrate - - poetry run pytest + - name: Run test + run: | + python -m pip install poetry + poetry install + poetry env info + poetry run python manage.py migrate + poetry run pytest build-and-push: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main'