Update config.yml

This commit is contained in:
Jakub Błaszczyk 2023-03-27 17:41:48 +02:00 committed by GitHub
parent fdedbe52ad
commit e1e32e61c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ kube-builder: &install-kube-builder
sudo mv /tmp/kubebuilder_2.3.2_${os}_${arch} /usr/local/kubebuilder sudo mv /tmp/kubebuilder_2.3.2_${os}_${arch} /usr/local/kubebuilder
export PATH=$PATH:/usr/local/kubebuilder/bin export PATH=$PATH:/usr/local/kubebuilder/bin
golaing_image: &golang_image golaing_image: &golang_image
image: circleci/golang:1.16.10 image: cimg/go:1.17
version: 2 version: 2
jobs: jobs:
build: build:
@ -40,14 +40,6 @@ jobs:
machine: true machine: true
steps: steps:
- checkout - checkout
- run:
name: Update golang
command: |
sudo rm -rf /usr/local/go/
curl -LO https://go.dev/dl/go1.16.10.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.10.linux-amd64.tar.gz
sudo echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.profile
go version
- run: - run:
<<: *install-kube-builder <<: *install-kube-builder
- run: - run: