Skip to content

Commit

Permalink
Merge pull request #2830 from locustio/fix-docker-build-for-release
Browse files Browse the repository at this point in the history
Fix docker build for release
  • Loading branch information
cyberw authored Aug 5, 2024
2 parents 2a6862a + 9db8c4a commit bfe7576
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,17 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# The following steps aren't needed, but if you want 100% guarantee the tagged/release build will work you can add them
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: "3.x"
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip poetry
# python -m poetry config virtualenvs.create false
# python -m poetry self add "poetry-dynamic-versioning[plugin]"
# - run: echo "TAG=$(poetry version -s)" | tee -a $GITHUB_ENV
- uses: docker/login-action@v1
if: github.repository_owner == 'locustio'
with:
Expand Down Expand Up @@ -138,6 +149,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
Expand Down

0 comments on commit bfe7576

Please sign in to comment.