Skip to content

Commit

Permalink
Optimize ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wweir committed Feb 27, 2019
1 parent 192b4f7 commit 8f598db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ version: 2
jobs:
build:
docker:
- image: circleci/golang:1.11.4
- image: circleci/golang:1.12
steps:
- checkout # check out the code in the project directory
- setup_remote_docker # install docker in docker
- run:
name: Prepare Environment
command: |
Expand Down Expand Up @@ -41,6 +40,8 @@ jobs:
VERSION=$(git describe --tags)
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION%-*-*} artifacts/
- setup_remote_docker # install docker in docker
- run:
name: Build Docker Image
command: |
Expand Down

0 comments on commit 8f598db

Please sign in to comment.