Skip to content

Commit

Permalink
Update deployDev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pradumchintamani authored Jun 22, 2024
1 parent a7d8157 commit 5232bc4
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/deployDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,26 @@ jobs:
- name: Checkout repository
uses: actions/[email protected]

# - name: Login to DockerHub
# uses: docker/[email protected]
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

# - name: Build and push Docker image
# run: |
# docker build -t hellopradum/backend-wanderlust backend/.
# docker build -t hellopradum/frontend-wanderlust frontend/.
- name: Build and push Docker image
run: |
docker build -t hellopradum/backend-wanderlust backend/.
docker build -t hellopradum/frontend-wanderlust frontend/.
# docker push hellopradum/backend-wanderlust:latest
# docker push hellopradum/frontend-wanderlust:latest
docker push hellopradum/backend-wanderlust:latest
docker push hellopradum/frontend-wanderlust:latest
- name: Configure kubectl
run: |
mkdir -p ~/.kube
echo "$KUBE_CONFIG" | base64 -d > ~/.kube/config
kubectl version --client
- name: Create and claim persistent volume
run: |
cd kubernetes
Expand Down

0 comments on commit 5232bc4

Please sign in to comment.