This repository has been archived by the owner on Sep 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from chuckha/release
Release
- Loading branch information
Showing
11 changed files
with
113 additions
and
143 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
workflow "Release" { | ||
on = "push" | ||
resolves = ["Setup Google Cloud"] | ||
} | ||
|
||
action "Setup Google Cloud" { | ||
uses = "actions/gcloud/auth@master" | ||
secrets = ["GCLOUD_AUTH"] | ||
} | ||
|
||
action "is-tag" { | ||
uses = "actions/bin/filter@master" | ||
args = "tag" | ||
} | ||
|
||
action "goreleaser" { | ||
uses = "docker://goreleaser/goreleaser" | ||
secrets = [] | ||
args = "release" | ||
needs = ["is-tag", "Setup Google Cloud"] | ||
} |
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 |
---|---|---|
|
@@ -4,3 +4,9 @@ kind-test | |
|
||
# vscode | ||
.vscode | ||
|
||
# goland | ||
.idea | ||
|
||
# ignore build output | ||
dist |
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,48 @@ | ||
before: | ||
hooks: | ||
- go mod download | ||
builds: | ||
- | ||
id: capdctl | ||
env: | ||
- CGO_ENABLED=0 | ||
main: ./cmd/capdctl/main.go | ||
binary: capdctl | ||
ldflags: | ||
- -s | ||
- -w | ||
- -X sigs.k8s.io/cluster-api-provider-docker/cmd/versioninfo.version={{.Version}} | ||
- -X sigs.k8s.io/cluster-api-provider-docker/cmd/versioninfo.shortHash={{.ShortCommit}} | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- | ||
id: capd-manager | ||
env: | ||
- CGO_ENABLED=0 | ||
main: ./cmd/capd-manager/main.go | ||
binary: capd-manager | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
archives: | ||
- replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
amd64: x86_64 | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
dockers: | ||
- goos: linux | ||
goarch: amd64 | ||
binaries: | ||
- capd-manager | ||
image_templates: | ||
- "gcr.io/kubernetes1-226021/capd-manager:{{.Version}}" | ||
- "gcr.io/kubernetes1-226021/capd-manager:{{.Major}}.{{.Minor}}" | ||
- "gcr.io/kubernetes1-226021/capd-manager:latest" |
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
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
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