Skip to content

Commit

Permalink
update(ci): switch to cimg circle ci go image instead of old unsuppor…
Browse files Browse the repository at this point in the history
…ted circleci/golang.

Moreover, install goreleaser from repository.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed Oct 21, 2022
1 parent f30cada commit e69c0b3
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .circleci/config.yml
Expand Up @@ -26,12 +26,22 @@ jobs:
command: make test
release:
docker:
- image: circleci/golang:1.17.5
- image: cimg/go:1.17
steps:
- checkout
- setup_remote_docker
- setup_remote_docker:
version: 20.10.12
- run:
name: Prepare env
command: |
echo ${DOCKERHUB_SECRET} | docker login -u ${DOCKERHUB_USER} --password-stdin
- run: curl -sL https://git.io/goreleaser | bash
- run:
name: Install goreleaser
command: |
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list
sudo apt update
sudo apt install goreleaser
- run:
name: Run goreleaser
command: goreleaser

0 comments on commit e69c0b3

Please sign in to comment.