From 722b2827a1eb824b3b1d9631abe4fb7b6352be28 Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Mon, 3 Apr 2023 20:30:25 +0300 Subject: [PATCH] Update Go version to 1.20 in test.yml and Dockerfiles --- .github/workflows/test.yml | 2 +- Dockerfile | 2 +- hardware.Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7976b0f..23f14520 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: '1.19' + go-version: '1.20' - name: Build Go binary run: go build -ldflags "-s -w" -trimpath -o ./go2rtc diff --git a/Dockerfile b/Dockerfile index c46b20d4..6ead9a1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # 0. Prepare images ARG PYTHON_VERSION="3.11" -ARG GO_VERSION="1.19" +ARG GO_VERSION="1.20" ARG NGROK_VERSION="3" FROM python:${PYTHON_VERSION}-alpine AS base diff --git a/hardware.Dockerfile b/hardware.Dockerfile index f1f7630e..d23c1691 100644 --- a/hardware.Dockerfile +++ b/hardware.Dockerfile @@ -3,7 +3,7 @@ # 0. Prepare images # only debian 12 (bookworm) has latest ffmpeg ARG DEBIAN_VERSION="bookworm-slim" -ARG GO_VERSION="1.19-buster" +ARG GO_VERSION="1.20-buster" ARG NGROK_VERSION="3" FROM debian:${DEBIAN_VERSION} AS base