Skip to content

Deprecating the requirements.txt for dependencies management #1

Deprecating the requirements.txt for dependencies management

Deprecating the requirements.txt for dependencies management #1

Workflow file for this run

name: Image
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install build
- name: Build wheel
run: |
python -m build --wheel --outdir bdist . && \
echo WHEEL=`ls bdist/fms_hf_tuning-*.whl` >> $GITHUB_ENV
- name: Build image
run: |
docker build -t sft-trainer:dev --build-arg WHEEL=${{ env.WHEEL }} . -f build/Dockerfile