Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
cjimti committed May 6, 2019
1 parent 46520fa commit 8041bf7
Show file tree
Hide file tree
Showing 14 changed files with 653 additions and 1 deletion.
82 changes: 82 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Build customization
build:
# Path to main.go file.
# Default is `main.go`
main: ./cmd/echo.go
binary: echo

env:
- GO111MODULE=on
- GOPROXY=https://gocenter.io
- CGO_ENABLED=0

# GOOS list to build in.
# For more info refer to https://golang.org/doc/install/source#environment
# Defaults are darwin and linux
goos:
- linux

# GOARCH to build in.
# For more info refer to https://golang.org/doc/install/source#environment
# Defaults are 386 and amd64
goarch:
- amd64
- arm

ldflags: -s -w -X main.Version={{.Version}}

release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL.
github:
owner: apk8s
name: echo

# If set to true, will not auto-publish the release.
# Default is false.
draft: false

# If set to true, will mark the release as not ready for production.
# Default is false.
prerelease: false

# You can change the name of the GitHub release.
# Default is ``
name_template: "{{.ProjectName}}-v{{.Version}} {{.Env.USER}}"

# You can disable this pipe in order to not upload any artifacts to
# GitHub.
# Defaults to false.
disable: false


dockers:
-
goos: linux
goarch: amd64
goarm: ''
binaries:
- echo
dockerfile: Dockerfile
image_templates:
- "apk8s/echo:latest"
- "apk8s/echo:{{ .Tag }}"
- "apk8s/echo:amd64-{{ .Tag }}"
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
-
goos: linux
goarch: arm
goarm: 6
binaries:
- echo
dockerfile: Dockerfile
image_templates:
- "apk8s/echo:armv6-latest"
- "apk8s/echo:armv6-{{ .Tag }}"
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
8 changes: 8 additions & 0 deletions .idea/echo.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

83 changes: 83 additions & 0 deletions .idea/markdown-navigator.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/markdown-navigator/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions .idea/watcherTasks.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8041bf7

Please sign in to comment.