Skip to content

Commit

Permalink
circleci/golang:1.17 -> cimg/go:1.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui333 committed Aug 21, 2021
1 parent 46c4b7b commit 8c63be2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- run: make check-lint
e2e:
docker:
- image: circleci/golang:1.17 # If you update this, update it in the Makefile too
- image: cimg/go:1.17.0 # If you update this, update it in the Makefile too
environment:
# This version of TF will be downloaded before Atlantis is started.
# We do this instead of setting --default-tf-version because setting
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
# Build and push Docker tag.
docker_tag:
docker:
- image: circleci/golang:1.17 # If you update this, update it in the Makefile too
- image: cimg/go:1.17.0 # If you update this, update it in the Makefile too
steps:
- checkout
- run: make build-service
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dist: ## Package up everything in static/ using go-bindata-assetfs so it can be
rm -f server/static/bindata_assetfs.go && go-bindata-assetfs -pkg static -prefix server server/static/... && mv bindata_assetfs.go server/static

release: ## Create packages for a release
docker run -v $$(pwd):/go/src/github.com/runatlantis/atlantis circleci/golang:1.17 sh -c 'cd /go/src/github.com/runatlantis/atlantis && scripts/binary-release.sh'
docker run -v $$(pwd):/go/src/github.com/runatlantis/atlantis cimg/go:1.17.0 sh -c 'cd /go/src/github.com/runatlantis/atlantis && scripts/binary-release.sh'

fmt: ## Run goimports (which also formats)
goimports -w $$(find . -type f -name '*.go' ! -path "./vendor/*" ! -path "./server/static/bindata_assetfs.go" ! -path "**/mocks/*")
Expand Down
2 changes: 1 addition & 1 deletion testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# We need terraform installed for our full test suite so it installs that.
# It's updated by running make build-testing-image which will also push a new
# image.
FROM circleci/golang:1.17
FROM cimg/go:1.17.0

# Install Terraform
ENV TERRAFORM_VERSION=1.0.4
Expand Down

0 comments on commit 8c63be2

Please sign in to comment.