Skip to content

Commit

Permalink
Update repository for forking to iree-org. (#1)
Browse files Browse the repository at this point in the history
* Change image names from nod-ai to iree-org.
* Update URLs from openxla to iree-org.
* Tidy up README.
  • Loading branch information
ScottTodd authored Aug 22, 2024
2 parents e3c1197 + 9622df3 commit be705de
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_amdgpu_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
IMAGE_NAME: nod-ai/amdgpu_ubuntu_jammy_x86_64
IMAGE_NAME: iree-org/amdgpu_ubuntu_jammy_x86_64
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
IMAGE_NAME: nod-ai/amdgpu_ubuntu_jammy_ghr_x86_64
IMAGE_NAME: iree-org/amdgpu_ubuntu_jammy_ghr_x86_64
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_cpubuilder_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
IMAGE_NAME: nod-ai/cpubuilder_ubuntu_jammy_ghr_x86_64
IMAGE_NAME: iree-org/cpubuilder_ubuntu_jammy_ghr_x86_64
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_manylinux_ghr_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: nod-ai/manylinux_ghr_x86_64
IMAGE_NAME: iree-org/manylinux_ghr_x86_64

jobs:
build-and-push-image:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_manylinux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: nod-ai/manylinux_x86_64
IMAGE_NAME: iree-org/manylinux_x86_64

jobs:
build-and-push-image:
Expand Down Expand Up @@ -42,4 +42,4 @@ jobs:
file: dockerfiles/manylinux_x86_64.Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
32 changes: 28 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,35 @@
# docker-build
# base-docker-images

Utility repository for publishing docker images that we depend on.

These images build and publish automatically by GH actions. To
build locally, use a command like:
These images build and publish automatically using GitHub Actions.

## Available images

Images with `ghr` in their name are configured as GitHub Actions Runners.

Image name | Description
---------- | -----------
`iree-org/amdgpu_ubuntu_jammy_x86_64`<br>`iree-org/amdgpu_ubuntu_jammy_ghr_x86_64` | Ubuntu with AMDGPU deps
`iree-org/cpubuilder_ubuntu_jammy_ghr_x86_64` | CPU builder with IREE build deps
`iree-org/manylinux_x86_64`<br>`iree-org/manylinux_ghr_x86_64` | Portable Linux release builder for Python packaging

## Using published images

Images are published to the GitHub Container registry which uses the
`https://ghcr.io` package namespace. See
[GitHub's documentation](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry)
for full details.

For typical usage, reference each image using syntax like
`ghcr.io/iree-org/manylinux_x86_64:main`.

## Building locally

To build locally, use a command like:

```
docker buildx build --file dockerfiles/some.Dockerfile .
sudo docker buildx build --file dockerfiles/some.Dockerfile .
```

This will print a SHA image id, which you can run with:
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/manylinux_ghr_x86_64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN groupadd -g 121 runner \
# Git started enforcing strict user checking, which thwarts version
# configuration scripts in a docker image where the tree was checked
# out by the host and mapped in. Disable the check.
# See: https://github.com/openxla/iree/issues/12046
# See: https://github.com/iree-org/iree/issues/12046
# We use the wildcard option to disable the checks. This was added
# in git 2.35.3
RUN git config --global --add safe.directory '*'
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/manylinux_x86_64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN ./install_bazel.sh && rm -rf /install-bazel
# Git started enforcing strict user checking, which thwarts version
# configuration scripts in a docker image where the tree was checked
# out by the host and mapped in. Disable the check.
# See: https://github.com/openxla/iree/issues/12046
# See: https://github.com/iree-org/iree/issues/12046
# We use the wildcard option to disable the checks. This was added
# in git 2.35.3
RUN git config --global --add safe.directory '*'

0 comments on commit be705de

Please sign in to comment.