Skip to content

Commit

Permalink
Update modeltrain.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ManoharVit authored Dec 10, 2024
1 parent 1d015d6 commit 6de6a0e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/modeltrain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
IMAGE_NAME="gcr.io/${{ secrets.GCP_PROJECT_ID }}/mpg"
MODEL_VERSION="v2"
echo "Building Docker image..."
docker build ./ -t ${IMAGE_NAME}:${MODEL_VERSION} -f GCP/gcpdeploy/trainer/Dockerfile
echo "Pushing Docker image..."
docker push ${IMAGE_NAME}:${MODEL_VERSION}
# docker build ./ -t ${IMAGE_NAME}:${MODEL_VERSION} -f GCP/gcpdeploy/trainer/Dockerfile
# echo "Pushing Docker image..."
# docker push ${IMAGE_NAME}:${MODEL_VERSION}
echo "Tagging image as 'latest'..."
docker tag ${IMAGE_NAME}:${MODEL_VERSION} ${IMAGE_NAME}:latest
docker push ${IMAGE_NAME}:latest
# docker tag ${IMAGE_NAME}:${MODEL_VERSION} ${IMAGE_NAME}:latest
# docker push ${IMAGE_NAME}:latest
# Step 4: Retrieve Image Digest
- name: Retrieve Image Digest
Expand Down

0 comments on commit 6de6a0e

Please sign in to comment.