Skip to content

Commit

Permalink
Switch back to use go-version from go-image-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
xdu31 committed Jan 28, 2024
1 parent 93d1ac8 commit afa472a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .go-image-tag

This file was deleted.

1 change: 1 addition & 0 deletions .go-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.21.5
2 changes: 1 addition & 1 deletion hack/setup-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# MUST BE RUN FROM THE REPO ROOT DIRECTORY

# read go-version file unless GO_VERSION is set
GO_VERSION="${GO_VERSION:-"$(cat .go-image-tag | cut -d'-' -f1)"}"
GO_VERSION="${GO_VERSION:-"$(cat .go-version)"}"
GO_IMAGE=public.ecr.aws/docker/library/golang:$GO_VERSION

# we don't actually care where the .env files are
Expand Down

0 comments on commit afa472a

Please sign in to comment.