Skip to content

Commit

Permalink
fix: tag image as latest in build_and_push.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirsamdarshi committed Jul 24, 2024
1 parent c2a5173 commit f9e092d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build_and_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function tag_with_latest_and_version() {
compose_file=$2

docker compose -f "$compose_file" build
docker tag "motrpac-frontend:latest" "us-docker.pkg.dev/$project_id/datahub/frontend:latest"
docker tag "motrpac-frontend:latest" "us-docker.pkg.dev/$project_id/datahub/frontend:$VERSION"
docker push "us-docker.pkg.dev/$project_id/datahub/frontend:latest"
docker push "us-docker.pkg.dev/$project_id/datahub/frontend:$VERSION"
Expand Down

0 comments on commit f9e092d

Please sign in to comment.