Skip to content

Commit

Permalink
Increase max docker build wait time to 120 minutes (#6227)
Browse files Browse the repository at this point in the history
Reported by @jeffdaily that the build job for ROCm Docker image now
takes close to 90 minutes to finish, for example
https://github.com/pytorch/pytorch/actions/runs/12998049606/job/36250394659.
So, setting the max waiting time to 90 minute is not sufficient anymore.
  • Loading branch information
huydhn authored Jan 29, 2025
1 parent d8bb31f commit 651a1c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/calculate-docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ runs:
retry login "${DOCKER_REGISTRY}"
START_TIME=$(date +%s)
# Wait up to 90 minutes
while [[ $(( $(date +%s) - 5400 )) -lt $START_TIME ]]; do
# Wait up to 120 minutes
while [[ $(( $(date +%s) - 7200 )) -lt $START_TIME ]]; do
# Check if image already exists, if it does then skip building it
if docker manifest inspect "${DOCKER_IMAGE}"; then
exit 0
Expand Down

0 comments on commit 651a1c8

Please sign in to comment.