Revert "chore/fix: switch release pipeline to goreleaser & ghcr.io (#40)" (#42)

This reverts commit b56a421ef2.
This commit is contained in:
Matthias Riegler 2023-01-28 21:42:36 +01:00 committed by GitHub
parent b56a421ef2
commit 01f689fb4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 99 additions and 54 deletions

View file

@ -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/ \