From 5899ac8066b1a2111fac19606af51bff60ebfb74 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Mon, 4 Aug 2025 13:11:57 -0700 Subject: [PATCH] update homebrew formula task can use golang image instead of debian --- pipelines/shared-tasks/update-homebrew-formula/task.sh | 5 ++--- pipelines/shared-tasks/update-homebrew-formula/task.yml | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pipelines/shared-tasks/update-homebrew-formula/task.sh b/pipelines/shared-tasks/update-homebrew-formula/task.sh index 871b2a977..840f0d2dd 100755 --- a/pipelines/shared-tasks/update-homebrew-formula/task.sh +++ b/pipelines/shared-tasks/update-homebrew-formula/task.sh @@ -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" diff --git a/pipelines/shared-tasks/update-homebrew-formula/task.yml b/pipelines/shared-tasks/update-homebrew-formula/task.yml index 9ebe36b94..836774c51 100644 --- a/pipelines/shared-tasks/update-homebrew-formula/task.yml +++ b/pipelines/shared-tasks/update-homebrew-formula/task.yml @@ -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