Skip to content

Commit

Permalink
Trigger frontend image push
Browse files Browse the repository at this point in the history
  • Loading branch information
rawanmahdi committed Nov 7, 2023
1 parent 646ad82 commit c1182e3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
push:
branches:
- 'main'
paths:
-'backend/Dockerfile'
-'frontend/Dockerfile'
# -'machine-learning/Dockerfile'
# paths:
# -'backend/'
# -'frontend/'
# # -'machine-learning/Dockerfile'


jobs:
Expand Down Expand Up @@ -47,10 +47,10 @@ jobs:
docker build -t us-central1-docker.pkg.dev/automateml/frontend-docker-image/frontend:latest ./frontend
docker push us-central1-docker.pkg.dev/automateml/frontend-docker-image/frontend:latest
- name: Build and Push ML Docker Image
env:
GOOGLE_PROJECT: ${{ secrets.PROJECT_ID }}
run: |
gcloud auth configure-docker us-central1-docker.pkg.dev
docker build -t us-central1-docker.pkg.dev/automateml/ml-docker-image/ml:latest ./machine-learning
docker push us-central1-docker.pkg.dev/automateml/ml-docker-image/ml:latest
# - name: Build and Push ML Docker Image
# env:
# GOOGLE_PROJECT: ${{ secrets.PROJECT_ID }}
# run: |
# gcloud auth configure-docker us-central1-docker.pkg.dev
# docker build -t us-central1-docker.pkg.dev/automateml/ml-docker-image/ml:latest ./machine-learning
# docker push us-central1-docker.pkg.dev/automateml/ml-docker-image/ml:latest

0 comments on commit c1182e3

Please sign in to comment.