You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@otava.apache.org by as...@apache.org on 2025/09/06 18:33:18 UTC
(otava) branch ci-docker-build created (now c023835)
This is an automated email from the ASF dual-hosted git repository.
asorokoumov pushed a change to branch ci-docker-build
in repository https://gitbox.apache.org/repos/asf/otava.git
at c023835 Run Docker build in CI
This branch includes the following new commits:
new c023835 Run Docker build in CI
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(otava) 01/01: Run Docker build in CI
Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
asorokoumov pushed a commit to branch ci-docker-build
in repository https://gitbox.apache.org/repos/asf/otava.git
commit c0238351a4f1918081f94602e49fd1e854b9b986
Author: Alex Sorokoumov <al...@gmail.com>
AuthorDate: Sat Sep 6 11:33:00 2025 -0700
Run Docker build in CI
---
.github/workflows/python-app.yml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index e0db0ac..c3a94a9 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -54,3 +54,28 @@ jobs:
- name: Run tox
run: tox -e py
+
+ docker-build:
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.10"
+
+ - name: Install uv
+ uses: astral-sh/setup-uv@v6
+ with:
+ python-version: "3.10"
+
+ - name: Install the project
+ run: uv sync --all-extras --dev
+
+ - name: Install tox
+ run: uv tool install tox --with tox-uv
+
+ - name: Build Docker image
+ run: uv run tox -e docker-build