mirror of
https://github.com/Homebrew/brew.git
synced 2026-08-12 22:29:27 +04: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:
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
ARG version=20.04
|
||||
ARG version=22.04
|
||||
# shellcheck disable=SC2154
|
||||
FROM ubuntu:"${version}"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
Reference in New Issue
Block a user