Skip to content

Commit

Permalink
try immediately after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Lapp committed Feb 20, 2024
1 parent 043d357 commit e561ae9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
lapp0/outlines-serve:latest
lapp0/outlines-serve:${{ github.event.release.tag_name }}
- name: Build sdist and wheel
run: |
python -m pip install -U pip
Expand All @@ -38,16 +51,3 @@ jobs:
python -m venv venv-wheel
venv-wheel/bin/python -m pip install ../dist/outlines-*.whl
venv-wheel/bin/python -c "import outlines"
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
lapp0/outlines-serve:latest
lapp0/outlines-serve:${{ github.event.release.tag_name }}

0 comments on commit e561ae9

Please sign in to comment.