Skip to content

Commit

Permalink
fix: master docker builds fail because of multi-platform builds can't…
Browse files Browse the repository at this point in the history
… --load (#31493)
  • Loading branch information
mistercrunch authored Dec 17, 2024
1 parent 4c380b4 commit a5e36c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ jobs:
--extra-flags "--build-arg INCLUDE_CHROMIUM=false" \
$PLATFORM_ARG
- name: Docker pull
if: steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker
run: docker pull apache/superset:GHA-${GITHUB_RUN_ID}

- name: Print docker stats
if: steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker
run: |
Expand Down
3 changes: 2 additions & 1 deletion superset/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
# All of the fields located here should be considered legacy. The correct way
# to declare "global" dependencies is to define it in extensions.py,
# then initialize it in app.create_app(). These fields will be removed
# in subsequent PRs as things are migrated towards the factory pattern
# in subsequent PRs as things are migrated towards the factory
# pattern
app: Flask = current_app
cache = cache_manager.cache
conf = LocalProxy(lambda: current_app.config)
Expand Down

0 comments on commit a5e36c9

Please sign in to comment.