Skip to content

Commit 485123f

Browse files
committed
testing deployment
1 parent 5ece450 commit 485123f

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

.github/workflows/github-actions-CI-CD.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,26 @@ jobs:
4141
- name: Testing with pytest
4242
run: pytest -v -s
4343

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-
with:
56-
context: .
57-
push: true
58-
tags: ${{ secrets.DOCKERHUB_USERNAME }}/fastapi_cicd:latest
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+
# with:
56+
# context: .
57+
# push: true
58+
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/fastapi_cicd:latest
59+
60+
CD:
61+
runs-on: ubuntu-latest
62+
needs: [CI]
63+
64+
steps:
65+
- name: deploying stuff
66+
run: echo "Going to check for depolyment in cd"

0 commit comments

Comments
 (0)