This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrew Weiss
committed
Apr 15, 2018
1 parent
4e7a842
commit 0f05d4f
Showing
5 changed files
with
70 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
working_directory: /go/src/github.com/opencontrol/oscalkit | ||
docker: | ||
- image: circleci/golang:1.10 | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-pkg-cache | ||
- 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 | ||
deployment: | ||
trigger_tag: | ||
tag: /.*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM alpine:3.7 | ||
RUN apk --no-cache add ca-certificates libxml2-utils | ||
ENTRYPOINT ["/oscalkit"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters