Skip to content

Commit

Permalink
feat: sytf, gomod proxy, source enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
  • Loading branch information
developer-guy committed Feb 10, 2022
1 parent 4099dd7 commit 82affb0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: anchore/sbom-action/download-syft@v0.6.0 # installs syft
- uses: docker/login-action@v1
with:
registry: ghcr.io
Expand Down
11 changes: 11 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ changelog:
- '^docs:'
- '^test:'

source:
enabled: true

gomod:
proxy: true

dockers:
- image_templates:
- 'ghcr.io/goturkiye/goreleaser-supply-chain-example:{{ .Tag }}'
Expand All @@ -42,3 +48,8 @@ dockers:
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"

sboms:
- artifacts: archive
- id: source
artifacts: source

0 comments on commit 82affb0

Please sign in to comment.