mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-20 18:37:01 +00:00
Update goreleaser
This commit is contained in:
parent
1d9f400a69
commit
b031de27ba
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
FROM bats/bats:v1.2.1
|
FROM bats/bats:v1.2.1
|
||||||
RUN apk --no-cache add ca-certificates parallel libxml2-utils
|
RUN apk --no-cache add ca-certificates parallel libxml2-utils
|
||||||
COPY dist/kubeconform_linux_amd64/kubeconform /code/bin/
|
COPY dist/kubeconform_linux_amd64_v1/kubeconform /code/bin/
|
||||||
COPY acceptance.bats acceptance-nonetwork.bats /code/
|
COPY acceptance.bats acceptance-nonetwork.bats /code/
|
||||||
COPY fixtures /code/fixtures
|
COPY fixtures /code/fixtures
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -32,7 +32,7 @@ docker-acceptance: build-bats
|
||||||
|
|
||||||
goreleaser-build-static:
|
goreleaser-build-static:
|
||||||
docker run -t -e GOOS=linux -e GOARCH=amd64 -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform goreleaser/goreleaser:v1.11.5 build --single-target --skip-post-hooks --rm-dist --snapshot
|
docker run -t -e GOOS=linux -e GOARCH=amd64 -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform goreleaser/goreleaser:v1.11.5 build --single-target --skip-post-hooks --rm-dist --snapshot
|
||||||
cp dist/kubeconform_linux_amd64/kubeconform bin/
|
cp dist/kubeconform_linux_amd64_v1/kubeconform bin/
|
||||||
|
|
||||||
release:
|
release:
|
||||||
docker run -e GITHUB_TOKEN -t -v /var/run/docker.sock:/var/run/docker.sock -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform goreleaser/goreleaser:v1.11.5 release --rm-dist
|
docker run -e GITHUB_TOKEN -t -v /var/run/docker.sock:/var/run/docker.sock -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform goreleaser/goreleaser:v1.11.5 release --rm-dist
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue