Skip to content

Commit

Permalink
fix : ci-cd.yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JunYupK committed Feb 4, 2025
1 parent 110ca5e commit c3639bf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: CI/CD Pipeline
on:
push:
branches: [ main ]
paths:
- 'CrawlingServer/**'
pull_request:
branches: [ main ]
paths:
- 'CrawlingServer/**'

env:
GCP_PROJECT_ID: cdc-pipeline-with-kafka
Expand Down Expand Up @@ -56,10 +60,10 @@ jobs:
password: ${{ secrets.GCP_SA_KEY }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
uses: docker/build-push-action@v2
with:
context: ./CrawlingServer
push: true
tags: |
gcr.io/${{ env.GCP_PROJECT_ID }}/crawler:${{ github.sha }}
gcr.io/${{ env.GCP_PROJECT_ID }}/crawler:latest
Expand Down

0 comments on commit c3639bf

Please sign in to comment.