update homebrew formula task can use golang image instead of debian

This commit is contained in:
Ryan Richard
2025-08-04 13:12:18 -07:00
parent 0152233678
commit 5899ac8066
2 changed files with 5 additions and 6 deletions
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
set -xeuo pipefail
@@ -27,8 +27,7 @@ if [[ "$current_revision" != "$new_revision" ]]; then
> homebrew-pinniped-out/pinniped-cli.rb
cd homebrew-pinniped-out
apt update >/dev/null
apt install git -y >/dev/null
git config user.email "pinniped-ci-bot@users.noreply.github.com"
git config user.name "Pinny"
git commit -a -m "pinniped-cli.rb: update to $new_version"
@@ -1,4 +1,4 @@
# Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
---
@@ -6,8 +6,8 @@ platform: linux
image_resource:
type: registry-image
source:
repository: debian
tag: 10.8
repository: golang
tag: latest
inputs:
- name: pinniped-ci
- name: github-release