Skip to content

Commit 384b185

Browse files
Use path context for docker CI action
1 parent af01431 commit 384b185

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish-to-docker-hub.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
docker:
99
runs-on: ubuntu-latest
1010
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
1113
- name: Set version number variable
1214
run: |
1315
VER=$(cat pathml/_version.py | grep -o '"[^"]\+"' | tr '"' ' ')
@@ -25,6 +27,7 @@ jobs:
2527
id: docker_build
2628
uses: docker/build-push-action@v2.7.0
2729
with:
30+
context: .
2831
push: true
2932
tags: |
3033
pathml/pathml:latest

0 commit comments

Comments
 (0)