Skip to content

Commit

Permalink
chore: Update GoReleaser config (aquasecurity#200)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak authored Oct 13, 2020
1 parent eae06b3 commit 6362125
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Release snapshot
uses: goreleaser/goreleaser-action@v2
with:
version: v0.143.0
version: v0.145.0
args: release --snapshot --skip-publish --rm-dist
itest-starboard-cli:
name: Integration tests / Starboard CLI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Release
uses: goreleaser/goreleaser-action@v2
with:
version: v0.143.0
version: v0.145.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod download
builds:
- id: starboard
main: ./cmd/starboard/main.go
binary: starboard
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
Expand All @@ -31,6 +30,8 @@ builds:
- amd64
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
builds:
- starboard
replacements:
amd64: x86_64
format_overrides:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ endif
.PHONY: clean
## Removes build artifacts
clean:
rm -r ./bin
rm -r ./dist
@rm -r ./bin 2> /dev/null || true
@rm -r ./dist 2> /dev/null || true

## Builds Docker images for all binaries
docker-build: docker-build-starboard-cli docker-build-starboard-operator docker-build-starboard-scanner-aqua
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
containerImage: aquasec/starboard-operator:0.6.0
createdAt: 2020-09-15T08:00:00Z
support: Aqua Security
repository: https://github.com/aquasecurity/starboard-operator
repository: https://github.com/aquasecurity/starboard
alm-examples: |-
[]
spec:
Expand Down
2 changes: 1 addition & 1 deletion deploy/olm/bundle/starboard-operator.package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
packageName: starboard-operator
channels:
- name: alpha
currentCSV: starboard-operator.v0.0.1
currentCSV: starboard-operator.v0.6.0
defaultChannel: alpha

0 comments on commit 6362125

Please sign in to comment.