villebro opened a new pull request, #44250: URL: https://github.com/apache/superset/pull/44250
### SUMMARY Fixes the Docker publish workflow so branch builds pass the real GitHub event and ref to `supersetbot docker` instead of empty `EVENT`/`RELEASE` variables. Without that context, Supersetbot skipped the `master` tag family, which matches the stale Docker Hub `master` and `master-dev` tags. This also: - expands the always-on Docker command check to assert generated `master*` tags; - aligns the default Python cache tag with the Dockerfile base (`3.11.14-slim-trixie`); - updates cache consumers to the produced cache tag; - updates Docker build docs to distinguish ordinary PR validation from Showtime PR images. Registry audit notes: - `apache/superset:master` and `apache/superset:master-dev` were last pushed on 2024-03-13. - published release/latest tags are being pushed by the release/scheduled workflows; `6.1.0-*` variants were refreshed on 2026-09-14. - active release-branch Docker workflow runs still use the same empty context pattern on those branches, so this fix should be backported if branch-triggered image tags are expected there too. - PR tags are published by Showtime as `pr-<PR>-<sha>-ci`, not by the normal PR Docker validation path. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Not applicable. ### TESTING INSTRUCTIONS Ran: ```bash git diff --check bash -n scripts/docker-build-extra-flags.sh node --input-type=module - <<'NODE' # imported [email protected] command builder and asserted: # - default presets use PY_VER/cache ref 3.11.14-slim-trixie # - py311/py312 retain their preset cache refs # - master push context emits master, master-dev, master-lean, # master-websocket, master-dockerize, master-py311, master-py312 # - authenticated builds include cache-to for apache/superset-cache:3.11.14-slim-trixie NODE /Users/ville/.pyenv/versions/3.11-dev/bin/pre-commit run ``` `pre-commit run` passed, including `check yaml` and `zizmor`. ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
