diff --git a/.circleci/main.yml b/.circleci/main.yml index 7f0ec1abd93..1fdcc9230fb 100644 --- a/.circleci/main.yml +++ b/.circleci/main.yml @@ -36,7 +36,7 @@ default_environment: &default_environment executors: golang: docker: - - image: cimg/go:1.18 + - image: cimg/go:1.17.8 working_directory: ~/ipfs/go-ipfs environment: <<: *default_environment @@ -61,7 +61,7 @@ executors: E2E_IPFSD_TYPE: go dockerizer: docker: - - image: cimg/go:1.18 + - image: cimg/go:1.17.8 environment: IMAGE_NAME: ipfs/go-ipfs WIP_IMAGE_TAG: wip @@ -161,8 +161,8 @@ jobs: - run: sudo apt update - run: | mkdir ~/localgo && cd ~/localgo - wget https://golang.org/dl/go1.18.linux-amd64.tar.gz - tar xfz go1.18.linux-amd64.tar.gz + wget https://golang.org/dl/go1.17.8.linux-amd64.tar.gz + tar xfz go1.17.8.linux-amd64.tar.gz echo "export PATH=$(pwd)/go/bin:\$PATH" >> ~/.bashrc - run: go version - run: sudo apt install socat net-tools @@ -228,7 +228,7 @@ jobs: - *store_gomod interop: docker: - - image: cimg/go:1.18-node + - image: cimg/go:1.17.8-node parallelism: 4 resource_class: large steps: diff --git a/Dockerfile b/Dockerfile index 114388b9294..239a7fa6d61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Note: when updating the go minor version here, also update the go-channel in snap/snapcraft.yml -FROM golang:1.18-buster +FROM golang:1.17.8-buster LABEL maintainer="Steven Allen " # Install deps diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c9d73395f61..5852fa8846b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -29,7 +29,7 @@ parts: source-tag: master plugin: go # keep me up to date with the go version that go-ipfs expects to be built with. - go-channel: 1.18/stable + go-channel: 1.17/stable go-importpath: github.com/ipfs/go-ipfs build-packages: - build-essential