Skip to content

Commit 8d19d8a

Browse files
committed
keep only testing on the workflow
1 parent 4060148 commit 8d19d8a

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.github/workflows/mlops_workflow.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,4 @@ jobs:
2727
- name: Run tests
2828
run: pytest
2929
- name: Clean up .env
30-
run: rm .env
31-
32-
build:
33-
needs: test
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@v2
37-
- name: Build Docker image
38-
run: docker build -t your-docker-image-name .
39-
- name: Log in to Docker Hub
40-
uses: docker/login-action@v1
41-
with:
42-
username: ${{ secrets.DOCKER_HUB_USERNAME }}
43-
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
44-
- name: Push Docker image
45-
run: |
46-
docker tag your-docker-image-name your-dockerhub-username/your-docker-image-name:latest
47-
docker push your-dockerhub-username/your-docker-image-name:latest
30+
run: rm .env

0 commit comments

Comments
 (0)