Skip to content

Fix nightly and stable Docker image build pipeline - #481

Open
prishajain1 wants to merge 1 commit into
mainfrom
prisha/fix-nightly-image-build
Open

prishajain1 wants to merge 1 commit into
mainfrom
prisha/fix-nightly-image-build

Conversation

@prishajain1

Copy link
Copy Markdown
Collaborator

Summary

Fixes the nightly and stable Docker image builds in .github/workflows/UploadDockerImages.yml which have been failing since 2026-08-28.

Root Causes

  1. Base Image Deprecation: python:3.12-slim-bullseye is deprecated / EOL, causing Debian package archive mirrors to fail when apt-get update runs.
  2. Retired Apt Package: google-cloud-sdk has been retired by Google Cloud apt repositories in favor of google-cloud-cli.
  3. Pipeline Cascading Failure: UploadDockerImages.yml ran the nightly build step unconditionally only if the preceding stable build succeeded (steps.build_stable failure skipped steps.build_nightly).

Changes

  1. Update maxdiffusion_dependencies.Dockerfile and docker_build_dependency_image.sh default BASEIMAGE from python:3.12-slim-bullseye to python:3.12-slim-bookworm.
  2. Update apt-get install in maxdiffusion_dependencies.Dockerfile to install google-cloud-cli instead of google-cloud-sdk.
  3. Add if: always() to the nightly image build step in .github/workflows/UploadDockerImages.yml so that nightly images continue to publish even if stable build encounters an independent issue.

- Switch base image from deprecated python:3.12-slim-bullseye to python:3.12-slim-bookworm
- Replace retired google-cloud-sdk apt package with google-cloud-cli
- Add if: always() to nightly build step in UploadDockerImages.yml so a stable build failure does not silently skip nightly publishing
@prishajain1
prishajain1 requested a review from entrpn as a code owner September 15, 2026 11:00
@github-actions

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the base Docker image from Debian Bullseye (python:3.12-slim-bullseye) to Debian Bookworm (python:3.12-slim-bookworm) in both the build script and the dependencies Dockerfile. Additionally, it replaces the installation of the retired google-cloud-sdk package with google-cloud-cli. There are no review comments, and I have no further feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant