Skip to content

Commit ebfe25d

Browse files
sjackmancarlocab
authored andcommitted
Use Ubuntu 22.04 to build bottles
Use Ubuntu 22.04 rather than Ubuntu 16.04 to build bottles. - Homebrew/brew#13619
1 parent 7f16202 commit ebfe25d

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/autobump.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
required: false
99
schedule:
1010
# Every day at 5am
11-
- cron: '0 5 * * *'
11+
- cron: "0 5 * * *"
1212

1313
env:
1414
HOMEBREW_FORCE_HOMEBREW_ON_LINUX: 1
@@ -847,7 +847,7 @@ jobs:
847847
if: github.repository == 'Homebrew/homebrew-core'
848848
runs-on: ubuntu-latest
849849
container:
850-
image: ghcr.io/homebrew/ubuntu16.04:master
850+
image: ghcr.io/homebrew/ubuntu22.04:master
851851
steps:
852852
- name: Set up Homebrew
853853
id: set-up-homebrew

.github/workflows/dispatch-build-bottle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
--env-file <(env | egrep 'HOMEBREW|GITHUB') \
9393
--workdir /tmp/bottles \
9494
--pull always \
95-
ghcr.io/homebrew/ubuntu16.04:master \
95+
ghcr.io/homebrew/ubuntu22.04:master \
9696
sleep inf
9797
# Fix working directory permissions
9898
docker exec --user root ${{github.sha}} chmod 777 /tmp/bottles

.github/workflows/dispatch-rebottle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
setup:
3535
runs-on: ubuntu-latest
3636
container:
37-
image: ghcr.io/homebrew/ubuntu16.04:master
37+
image: ghcr.io/homebrew/ubuntu22.04:master
3838
outputs:
3939
runners: ${{steps.determine-runners.outputs.runners}}
4040
steps:

.github/workflows/publish-commit-bottles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ permissions:
2424
jobs:
2525
upload:
2626
runs-on: ${{github.event.inputs.self_hosted == 'true' && 'linux-self-hosted-1' || 'ubuntu-latest'}}
27-
container: ${{github.event.inputs.self_hosted == 'true' && fromJson('{"image":"ghcr.io/homebrew/ubuntu16.04:master","options":"--user=linuxbrew -e GITHUB_ACTIONS_HOMEBREW_SELF_HOSTED"}') || ''}}
27+
container: ${{github.event.inputs.self_hosted == 'true' && fromJson('{"image":"ghcr.io/homebrew/ubuntu22.04:master","options":"--user=linuxbrew -e GITHUB_ACTIONS_HOMEBREW_SELF_HOSTED"}') || ''}}
2828
steps:
2929
- name: Post comment once started
3030
uses: Homebrew/actions/post-comment@master

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
if: github.repository == 'Homebrew/homebrew-core'
2525
runs-on: ubuntu-latest
2626
container:
27-
image: ghcr.io/homebrew/ubuntu16.04:master
27+
image: ghcr.io/homebrew/ubuntu22.04:master
2828
env:
2929
HOMEBREW_SIMULATE_MACOS_ON_LINUX: 1
3030
outputs:
@@ -186,14 +186,14 @@ jobs:
186186
strategy:
187187
matrix:
188188
include:
189-
- runner: '12-arm64'
190-
- runner: '12-${{github.run_id}}-${{github.run_attempt}}'
191-
- runner: '11-arm64'
192-
- runner: '11-${{github.run_id}}-${{github.run_attempt}}'
193-
- runner: '10.15-${{github.run_id}}-${{github.run_attempt}}'
189+
- runner: "12-arm64"
190+
- runner: "12-${{github.run_id}}-${{github.run_attempt}}"
191+
- runner: "11-arm64"
192+
- runner: "11-${{github.run_id}}-${{github.run_attempt}}"
193+
- runner: "10.15-${{github.run_id}}-${{github.run_attempt}}"
194194
- runner: ${{needs.setup_tests.outputs.linux-runner}}
195195
container:
196-
image: ghcr.io/homebrew/ubuntu16.04:master
196+
image: ghcr.io/homebrew/ubuntu22.04:master
197197
options: --user=linuxbrew -e GITHUB_ACTIONS_HOMEBREW_SELF_HOSTED
198198
workdir: /github/home
199199
timeout: 4320

0 commit comments

Comments
 (0)