Skip to content

Commit

Permalink
update cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
MajkellVZ committed Sep 12, 2024
1 parent 7147126 commit 7ee10f1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CD Pipeline

on:
schedule:
- cron: '0 0 * * 2'
- cron: '0 7 * * 2'
push:
branches:
- main
Expand Down Expand Up @@ -46,16 +46,6 @@ jobs:
-v /tmp/credentials.json:/tmp/credentials.json \
feature_pipeline:latest
- name: Push Docker Images to Google Artifact Registry
run: |
gcloud auth configure-docker europe-west4-docker.pkg.dev
docker build -t europe-west4-docker.pkg.dev/$GOOGLE_CLOUD_PROJECT/experiment-repo/experiment_pipeline:latest -f experiment_pipeline.Dockerfile .
docker push europe-west4-docker.pkg.dev/$GOOGLE_CLOUD_PROJECT/experiment-repo/experiment_pipeline:latest
docker build -t europe-west4-docker.pkg.dev/$GOOGLE_CLOUD_PROJECT/model-repo/training_pipeline:latest -f training_pipeline.Dockerfile .
docker push europe-west4-docker.pkg.dev/$GOOGLE_CLOUD_PROJECT/model-repo/training_pipeline:latest
docker build -t europe-west4-docker.pkg.dev/$GOOGLE_CLOUD_PROJECT/model-repo/server_app:latest -f server_app.Dockerfile .
docker push europe-west4-docker.pkg.dev/$GOOGLE_CLOUD_PROJECT/model-repo/server_app:latest
- name: Cleanup
run: rm -f /tmp/credentials.json

Expand Down

0 comments on commit 7ee10f1

Please sign in to comment.