Skip to content

Commit

Permalink
Build Linux image in redhat/ubi8 container (#306)
Browse files Browse the repository at this point in the history
Also installs git.
  • Loading branch information
pederhan authored Oct 10, 2024
1 parent 63ea4a3 commit 77a5115
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,23 @@ jobs:
- '3.12'
include:
- os: ubuntu-latest
container: centos:8
container: redhat/ubi8:latest
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}

steps:
- uses: actions/checkout@v4

- name: install git in RHEL 8 container
if: contains(matrix.container, 'redhat/ubi8')
run: dnf install -y git

- name: Install uv
uses: astral-sh/setup-uv@v2

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Run PyInstaller with Tox
run: |
uv venv
Expand Down

0 comments on commit 77a5115

Please sign in to comment.