mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-21 02:47:01 +00:00
Migrate to Github Container Registry
This commit is contained in:
parent
173394f80a
commit
e4d5505c10
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -19,8 +19,8 @@ save-image:
|
||||||
docker save --output kubeconform-image.tar kubeconform:${RELEASE_VERSION}
|
docker save --output kubeconform-image.tar kubeconform:${RELEASE_VERSION}
|
||||||
|
|
||||||
push-image:
|
push-image:
|
||||||
docker tag kubeconform:latest docker.pkg.github.com/yannh/kubeconform/kubeconform:${RELEASE_VERSION}
|
docker tag kubeconform:latest ghcr.io/yannh/kubeconform:${RELEASE_VERSION}
|
||||||
docker push docker.pkg.github.com/yannh/kubeconform/kubeconform:${RELEASE_VERSION}
|
docker push ghcr.io/yannh/kubeconform:${RELEASE_VERSION}
|
||||||
|
|
||||||
build-static:
|
build-static:
|
||||||
CGO_ENABLED=0 GOFLAGS=-mod=vendor GOOS=linux GOARCH=amd64 GO111MODULE=on go build -trimpath -tags=netgo -ldflags "-extldflags=\"-static\"" -a -o bin/ ./...
|
CGO_ENABLED=0 GOFLAGS=-mod=vendor GOOS=linux GOARCH=amd64 GO111MODULE=on go build -trimpath -tags=netgo -ldflags "-extldflags=\"-static\"" -a -o bin/ ./...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue