-
Notifications
You must be signed in to change notification settings - Fork 1
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 #55 from janfuhrer/ci/fix-publish-workflow
ci: add go setup for ko-publish job
- Loading branch information
Showing
8 changed files
with
161 additions
and
92 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
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 |
---|---|---|
|
@@ -31,7 +31,7 @@ builds: | |
archives: | ||
- format: tar.gz | ||
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}' | ||
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}' | ||
# use zip for windows archives | ||
format_overrides: | ||
- goos: windows | ||
|
@@ -67,7 +67,7 @@ release: | |
**Docker Images** | ||
- `ghcr.io/janfuhrer/{{ .ProjectName }}:{{ .Version }}` | ||
- `ghcr.io/janfuhrer/{{ .ProjectName }}:latest` | ||
{{ if not .Prerelease }}- `ghcr.io/janfuhrer/{{ .ProjectName }}:latest`{{ end }} | ||
# github changelog for new release | ||
changelog: | ||
|
@@ -78,39 +78,3 @@ changelog: | |
- '^test:' | ||
- '^rebase:' | ||
- Merge pull request | ||
|
||
## Since we are building the ko images with a own build step, we don't build them with goreleaser | ||
# kos: | ||
# - id: podsalsa | ||
# build: podsalsa | ||
# repository: ghcr.io/janfuhrer/podsalsa | ||
# tags: | ||
# - '{{.Tag}}' | ||
# - '{{ if not .Prerelease }}latest{{ end }}' | ||
# # use default base image | ||
# base_image: cgr.dev/chainguard/static | ||
# labels: | ||
# org.opencontainers.image.created: '{{ .Date }}' | ||
# org.opencontainers.image.authors: "[email protected]" | ||
# org.opencontainers.image.url: "https://github.com/janfuhrer/podsalsa" | ||
# org.opencontainers.image.documentation: "https://github.com/janfuhrer/podsalsa" | ||
# org.opencontainers.image.source: "https://github.com/janfuhrer/podsalsa" | ||
# org.opencontainers.image.version: '{{ .Tag }}' | ||
# org.opencontainers.image.revision: '{{ .Commit }}' | ||
# org.opencontainers.image.vendor: "janfuhrer" | ||
# org.opencontainers.image.licenses: "Apache-2.0" | ||
# org.opencontainers.image.title: "Podsalsa" | ||
# org.opencontainers.image.description: "Sample application to demonstrate supply chain security." | ||
# org.opencontainers.image.base.name: "cgr.dev/chainguard/static" | ||
# # use the docker tag without anything additional | ||
# bare: true | ||
# preserve_import_paths: false | ||
# sbom: cyclonedx # or spdx | ||
# platforms: | ||
# # possible values: all, linux/s390x, linux/arm64, linux/arm/v7, linux/ppc64le, linux/amd64 | ||
# - linux/arm64 | ||
# - linux/arm/v7 | ||
# - linux/amd64 | ||
# # set for reproducible builds | ||
# creation_time: '{{ .CommitTimestamp }}' | ||
# ko_data_creation_time: '{{.CommitTimestamp}}' |
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
Oops, something went wrong.