Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
# must name the images and the build args of images/images.go
# (images_test.go compares them).
#
# The builds use the runplane runners. QEMU builds the architecture that the
# runner does not have, which makes that build much slower.
# The arm64 builds use the ubuntu-24.04-arm runners. For a private repository
# without these runners, change the runner to ubuntu-24.04 and add
# docker/setup-qemu-action (the arm64 build is then much slower).
#
# The build context is the images folder, and images/.dockerignore keeps
# only the Dockerfile in it. A change to images.go, its test, or the README
Expand Down Expand Up @@ -35,15 +36,14 @@ jobs:
- {name: ubuntu-24.04, ubuntu: '24.04', image_os: ubuntu24}
- {name: ubuntu-26.04, ubuntu: '26.04', image_os: ubuntu26}
arch: [amd64, arm64]
runs-on: runplane
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v7
- name: Image name
run: echo "IMAGE=ghcr.io/${GITHUB_REPOSITORY,,}/runner-${{ matrix.image.name }}" >> "$GITHUB_ENV"
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
if: github.event_name != 'pull_request'
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
strategy:
matrix:
image: [ubuntu-24.04, ubuntu-26.04]
runs-on: runplane
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,4 +321,4 @@ A person who can change the release files can also change the `install.sh` of th

**Caution:** Do not change the key after the first release. A binary with the earlier key cannot do a self-update to a release with a new key. On these servers, run the install command of the new release again.

The `images.yml` workflow pushes the base images to GHCR each week and after each change of `images/Dockerfile`. The builds use the `runplane` label. QEMU builds the architecture that the runner does not have. After the first push, set the visibility of each image package on GHCR to public. Then servers pull the base images without a login, and VM mode does not need Docker. To do a check, run `docker logout ghcr.io && docker pull ghcr.io/<owner>/<repo>/runner-ubuntu-24.04:latest`.
The `images.yml` workflow pushes the base images to GHCR each week and after each change of `images/Dockerfile`. The arm64 images use the `ubuntu-24.04-arm` runners of GitHub. After the first push, set the visibility of each image package on GHCR to public. Then servers pull the base images without a login, and VM mode does not need Docker. To do a check, run `docker logout ghcr.io && docker pull ghcr.io/<owner>/<repo>/runner-ubuntu-24.04:latest`.
Loading