mirror of
https://github.com/TECHNOFAB11/docsonnet.git
synced 2026-02-02 07:35:11 +01:00
This reverts commit b56a421ef2.
This commit is contained in:
parent
b56a421ef2
commit
01f689fb4a
7 changed files with 99 additions and 54 deletions
17
Makefile
17
Makefile
|
|
@ -1,10 +1,19 @@
|
|||
.PHONY: build release docs
|
||||
.PHONY: build test push push-image docs
|
||||
|
||||
IMAGE_NAME ?= docsonnet
|
||||
IMAGE_PREFIX ?= jsonnetlibs
|
||||
IMAGE_TAG ?= 0.0.4
|
||||
|
||||
build:
|
||||
goreleaser build --rm-dist --snapshot
|
||||
docker buildx build -t $(IMAGE_PREFIX)/$(IMAGE_NAME):$(IMAGE_TAG) .
|
||||
|
||||
release:
|
||||
goreleaser release --rm-dist
|
||||
test: build
|
||||
|
||||
push: build test push-image
|
||||
|
||||
push-image:
|
||||
docker push $(IMAGE_PREFIX)/$(IMAGE_NAME):$(IMAGE_TAG)
|
||||
docker push $(IMAGE_PREFIX)/$(IMAGE_NAME):latest
|
||||
|
||||
docs:
|
||||
jsonnet -S -c -m doc-util/ \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue