Without this, actions fail when attempting to clone the repo:

```
2023-07-18 17:11:02 [Smoke Test/Run basic test suite] failed to attach to exec: http: invalid Host header
```

This appears to be the same as https://github.com/nektos/act/issues/1908, and only shows up with golang 1.20.6.  Staying with golang 1.20.5 is a temporary solution to avoid the bug until it is fixed upstream.

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/295
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
pull/71/head
Thomas E Lackey 2023-07-19 05:12:07 +00:00 committed by Jason Song
parent 73adae040d
commit dcf84d8a53
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.18 as builder
FROM golang:1.20.5-alpine3.18 as builder
# Do not remove `git` here, it is required for getting runner version when executing `make build`
RUN apk add --no-cache make git

View File

@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.18 as builder
FROM golang:1.20.5-alpine3.18 as builder
# Do not remove `git` here, it is required for getting runner version when executing `make build`
RUN apk add --no-cache make git