Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinh-Tan-Dat committed Jun 11, 2024
1 parent f60c54e commit 9b4406c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/deploymentCD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,6 @@ jobs:
project_id: ${{ env.PROJECT_ID }}
install_components: 'gke-gcloud-auth-plugin'

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: datuits
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build and Push the docker image
run: |
docker build -t datuits/devops-user-service:latest .
docker push datuits/devops-user-service:latest
- name: Set cluster context
run: |
gcloud container clusters get-credentials ${{ env.CLUSTER_NAME }} --zone ${{ env.ZONE }} --project ${{ env.PROJECT_ID }}
Expand Down

0 comments on commit 9b4406c

Please sign in to comment.