We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8be60f commit 5ece450Copy full SHA for 5ece450
.github/workflows/github-actions-CI-CD.yml
@@ -39,4 +39,20 @@ jobs:
39
- name: install all dependencies
40
run: pip install -r requirements.txt
41
- name: Testing with pytest
42
- run: pytest -v -s
+ run: pytest -v -s
43
+
44
+ - name: Login to Docker Hub
45
+ uses: docker/login-action@v3
46
+ with:
47
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
48
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
49
+ - name: Set up QEMU
50
+ uses: docker/setup-qemu-action@v3
51
+ - name: Set up Docker Buildx
52
+ uses: docker/setup-buildx-action@v3
53
+ - name: Build and push
54
+ uses: docker/build-push-action@v6
55
56
+ context: .
57
+ push: true
58
+ tags: ${{ secrets.DOCKERHUB_USERNAME }}/fastapi_cicd:latest
0 commit comments