Skip to content

Commit

Permalink
Use path context for docker CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-rosenthal authored Jan 4, 2022
1 parent af01431 commit 384b185
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-to-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set version number variable
run: |
VER=$(cat pathml/_version.py | grep -o '"[^"]\+"' | tr '"' ' ')
Expand All @@ -25,6 +27,7 @@ jobs:
id: docker_build
uses: docker/[email protected]
with:
context: .
push: true
tags: |
pathml/pathml:latest
Expand Down

0 comments on commit 384b185

Please sign in to comment.