Skip to content

Commit

Permalink
Updates working directories
Browse files Browse the repository at this point in the history
  • Loading branch information
vlidholt committed Mar 13, 2023
1 parent 368d6ec commit 4325e72
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deployment-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,19 @@ jobs:
ls config/
- name: Configure Docker
working-directory: gcp_demo_server
run: gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev

- name: Build the Docker image
run: "cd gcp_demo_server && docker build -t $IMAGE_NAME ."
working-directory: gcp_demo_server
run: "docker build -t $IMAGE_NAME ."

- name: Tag the Docker image
working-directory: gcp_demo_server
run: docker tag $IMAGE_NAME ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT }}/${{ env.REPOSITORY }}/$IMAGE_NAME

- name: Push Docker image
working-directory: gcp_demo_server
run: docker push ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT }}/${{ env.REPOSITORY }}/$IMAGE_NAME

# - name: Restart servers in instance group
Expand Down

0 comments on commit 4325e72

Please sign in to comment.