Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
fix CircleCI config
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Weiss committed Feb 7, 2019
1 parent f3b31b8 commit 92b1b7c
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,27 @@ jobs:
destination: raw-test-output
- store_test_results:
path: /tmp/test-results

deploy:
docker:
- image: circleci/golang:1.11
working_directory: /go/src/github.com/docker/oscalkit
steps:
- setup_remote_docker:
docker_layer_caching: true
- run: sudo apt-get install -y rpm
- run: docker login -u $HUB_USERNAME -p $HUB_PASSWORD
- deploy:
name: goreleaser
command: |
if [[ -n ${CIRCLE_TAG} ]]; then
curl -sL https://git.io/goreleaser | bash
fi
- run: curl -sL https://git.io/goreleaser | bash

workflows:
version: 2
test_and_deploy:
jobs:
- test
- test:
filters:
tags:
only: /.*/
branches:
only: master
- deploy:
requires:
- test
Expand Down

0 comments on commit 92b1b7c

Please sign in to comment.