Skip to content

Commit

Permalink
fix: Ensure image has go 1.22.2
Browse files Browse the repository at this point in the history
I couldn't figure out an easier way to update the goreleaser/goreleaser
image.  If I had my 'druthers, I'd have created a new image "from"
goreleaser and add a step to update go.  Making the task do this work
seems the most expedient, but it's a kludge, so you'll want to revert
this in favor of a better solution in the future.

Co-authored-by: Steve Taylor <sttaylor@vmware.com>
  • Loading branch information
staylor14 committed Apr 18, 2024
1 parent f3e583f commit 42b4b77
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/tasks/build/task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ cd om
git remote set-url origin https://github.com/pivotal-cf/om
git fetch -t -P -p

# Kludge to get this thing buillt by go 1.22.2
wget https://go.dev/dl/go1.22.2.linux-amd64.tar.gz
tar xf go1.22.2.linux-amd64.tar.gz
rm -rf /usr/local/go
mv go /usr/local

go version
goreleaser release

0 comments on commit 42b4b77

Please sign in to comment.