mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
workflows/docker: base homebrew/brew on 22.04
Also disable fail-fast so that if a image upload fails we don't stop the other uploads halfway.
This commit is contained in:
parent
dca8214c2a
commit
3ddcf765d2
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:
|
||||
@ -55,7 +56,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