Merge pull request #13218 from Homebrew/docker-brew-22.04
workflows/docker: base homebrew/brew on 22.04
This commit is contained in:
commit
b4f7dbcc2b
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@ -16,6 +16,7 @@ jobs:
|
||||
if: startsWith(github.repository, 'Homebrew/')
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
version: ["16.04", "18.04", "20.04", "22.04"]
|
||||
steps:
|
||||
@ -68,7 +69,7 @@ jobs:
|
||||
docker push "homebrew/ubuntu${{matrix.version}}:latest"
|
||||
|
||||
- name: Deploy the homebrew/brew Docker image to GitHub Packages and Docker Hub
|
||||
if: startsWith(github.ref, 'refs/tags/') && matrix.version == '20.04'
|
||||
if: startsWith(github.ref, 'refs/tags/') && matrix.version == '22.04'
|
||||
run: |
|
||||
docker tag brew "ghcr.io/homebrew/brew:${brew_version}"
|
||||
docker push "ghcr.io/homebrew/brew:${brew_version}"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
ARG version=20.04
|
||||
ARG version=22.04
|
||||
# shellcheck disable=SC2154
|
||||
FROM ubuntu:"${version}"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user