Skip to content

Commit

Permalink
production model update v1.0 & host container on render
Browse files Browse the repository at this point in the history
  • Loading branch information
ronylpatil committed May 5, 2024
1 parent 528c80b commit 8d5e169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ jobs:

- name: Build Docker Image
run: |
docker build -t ${{ secrets.DOCKER_USERNAME }}/wineqcicd:v1.2 .
docker build -t ${{ secrets.DOCKER_USERNAME }}/wineqcicd:latest .
- name: Log-in to Docker Hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}

- name: Push Docker Img # push the previously built img to dockerhub
run: docker push ${{ secrets.DOCKER_USERNAME }}/wineqcicd:v1.2
run: docker push ${{ secrets.DOCKER_USERNAME }}/wineqcicd:latest

deploy:
needs: build_push_docker_image
Expand All @@ -101,5 +101,5 @@ jobs:
env:
deploy_url: ${{ secrets.DEPLOY_HOOK }}
run: |
curl -X POST -d "image_url=${{ secrets.DOCKER_USERNAME }}/wineqcicd:v1.2" "$deploy_url"
curl "$deploy_uri"

0 comments on commit 8d5e169

Please sign in to comment.