Skip to content

Commit

Permalink
Update base docker image for golang 1.21.11 (#1029)
Browse files Browse the repository at this point in the history
The base docker images are pinned to go 1.21. With 8fd553a, this breaks
the GitHub reusable workflows. This PR pins the images to [the official
1.21.11
one](https://hub.docker.com/layers/library/golang/1.21.11-alpine3.19/images/sha256-6c5f76c897971f1b6ff0e447941440889016b18805812660a83b5275e862298d?context=explore).
This should fix the issue.
  • Loading branch information
np5 committed Jun 7, 2024
1 parent 6d0e29e commit 7f7f468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21-alpine3.19@sha256:1c2e4747a1b15fe65c8317bca9bd91611b29fe7c8b65009b9edbee7653e62614 AS builder
FROM golang:1.21-alpine3.19@sha256:599a9bb95e8b9bb61522609b850c90977ceadbe5e973fa51e814e5c4fa9d5667 AS builder

WORKDIR /src
COPY ./go.mod ./go.sum ./
Expand Down
2 changes: 1 addition & 1 deletion action.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21-alpine3.19@sha256:1c2e4747a1b15fe65c8317bca9bd91611b29fe7c8b65009b9edbee7653e62614
FROM golang:1.21-alpine3.19@sha256:599a9bb95e8b9bb61522609b850c90977ceadbe5e973fa51e814e5c4fa9d5667

RUN mkdir /src
WORKDIR /src
Expand Down

0 comments on commit 7f7f468

Please sign in to comment.