Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.23 as golang
FROM golang:1.24 as golang

FROM gcr.io/google.com/cloudsdktool/cloud-sdk:491.0.0
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:513.0.0

COPY --from=golang /usr/local/go/ /usr/local/go/

Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,18 @@ following `gcloud` components:
- `app-engine-go`
- `cloud-datastore-emulator`

# Updating Instructions

- Bump the major version of Go in `Dockerfile` to the latest Go version i.e.
`1.24`
- Bump the version of `cloud-sdk` in `Dockerfile`
- Find the `latest` version [here][gcloud]
- Open a Pull Request with those changes
- Merge the Pull Request after review and tests pass
- Tag a release using the Go version as the naming convention i.e. `1.24.0`
- Verify the tag was pushed to [Docker Hub][dockerhub]

[actions]: https://github.com/nytimes/golang-gcloud-sdk/actions
[badge]: https://github.com/nytimes/golang-gcloud-sdk/actions/workflows/build.yml/badge.svg
[gcloud]: https://gcr.io/google.com/cloudsdktool/cloud-sdk
[dockerhub]: https://hub.docker.com/r/nytimes/golang-gcloud-sdk
Loading