diff --git a/.github/workflows/publish-egress.yaml b/.github/workflows/publish-egress.yaml index 6c82fb45..5297f8f7 100644 --- a/.github/workflows/publish-egress.yaml +++ b/.github/workflows/publish-egress.yaml @@ -48,7 +48,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.20.x + go-version: 1.21.4 - name: Download Go modules run: go mod download diff --git a/build/chrome/install-chrome b/build/chrome/install-chrome index 55843b4d..703fa670 100755 --- a/build/chrome/install-chrome +++ b/build/chrome/install-chrome @@ -46,7 +46,7 @@ else rm google-chrome-stable_current_amd64.deb fi -wget -N http://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip +wget -N https://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip unzip chromedriver_linux64.zip chmod +x chromedriver mv -f chromedriver /usr/local/bin/chromedriver diff --git a/build/egress/Dockerfile b/build/egress/Dockerfile index 70aeb09d..130767d3 100644 --- a/build/egress/Dockerfile +++ b/build/egress/Dockerfile @@ -20,9 +20,9 @@ WORKDIR /workspace # install go RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then GOARCH=arm64; else GOARCH=amd64; fi && \ - wget https://go.dev/dl/go1.20.7.linux-${GOARCH}.tar.gz && \ + wget https://go.dev/dl/go1.21.4.linux-${GOARCH}.tar.gz && \ rm -rf /usr/local/go && \ - tar -C /usr/local -xzf go1.20.7.linux-${GOARCH}.tar.gz + tar -C /usr/local -xzf go1.21.4.linux-${GOARCH}.tar.gz ENV PATH="/usr/local/go/bin:${PATH}" diff --git a/build/test/Dockerfile b/build/test/Dockerfile index 1cdcd460..1f6c407e 100644 --- a/build/test/Dockerfile +++ b/build/test/Dockerfile @@ -20,9 +20,9 @@ ARG TARGETPLATFORM # install go RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then GOARCH=arm64; else GOARCH=amd64; fi && \ - wget https://go.dev/dl/go1.20.7.linux-${GOARCH}.tar.gz && \ + wget https://go.dev/dl/go1.21.4.linux-${GOARCH}.tar.gz && \ rm -rf /usr/local/go && \ - tar -C /usr/local -xzf go1.20.7.linux-${GOARCH}.tar.gz + tar -C /usr/local -xzf go1.21.4.linux-${GOARCH}.tar.gz ENV PATH="/usr/local/go/bin:${PATH}" # download go modules @@ -67,9 +67,9 @@ RUN apt-get update && \ # install go RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then GOARCH=arm64; else GOARCH=amd64; fi && \ - wget https://go.dev/dl/go1.20.7.linux-${GOARCH}.tar.gz && \ + wget https://go.dev/dl/go1.21.4.linux-${GOARCH}.tar.gz && \ rm -rf /usr/local/go && \ - tar -C /usr/local -xzf go1.20.7.linux-${GOARCH}.tar.gz + tar -C /usr/local -xzf go1.21.4.linux-${GOARCH}.tar.gz ENV PATH="/usr/local/go/bin:${PATH}" # install chrome diff --git a/go.mod b/go.mod index 8125f277..8bb6c5cc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/livekit/egress -go 1.20 +go 1.21 + +toolchain go1.21.4 require ( cloud.google.com/go/storage v1.31.0