Skip to content

Commit

Permalink
Use wheel build images from GitHub Packages. (pantsbuild#18518)
Browse files Browse the repository at this point in the history
Since the Docker Hub free tier is going away.
  • Loading branch information
benjyw authored Mar 17, 2023
1 parent 21bd294 commit a41e9f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ jobs:
timeout-minutes: 60
build_wheels_linux_arm64:
container:
image: registry.hub.docker.com/pantsbuild/wheel_build_aarch64:v3-8384c5cf
image: ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf
env:
PANTS_REMOTE_CACHE_READ: 'false'
PANTS_REMOTE_CACHE_WRITE: 'false'
Expand Down
2 changes: 1 addition & 1 deletion build-support/bin/generate_github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def build_wheels_job(platform: Platform, python_versions: list[str]) -> Jobs:
# Unfortunately Equinix do not support the CentOS 7 image on the hardware we've been
# generously given by the Runs on ARM program. Se we have to build in this image.
container = {
"image": "registry.hub.docker.com/pantsbuild/wheel_build_aarch64:v3-8384c5cf",
"image": "ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf",
}
else:
container = None
Expand Down
2 changes: 2 additions & 0 deletions pants.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[GLOBAL]
print_stacktrace = true

# Temp change to force wheel build

# Enable our custom loose-source plugins.
pythonpath = ["%(buildroot)s/pants-plugins"]
backend_packages.add = [
Expand Down

0 comments on commit a41e9f6

Please sign in to comment.