Skip to content

Commit

Permalink
Push clean schemas to GHCR
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Oct 22, 2023
1 parent aa9fb90 commit 356ed96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,6 @@ push-redis: build
-a 'org.opencontainers.image.description=A timoni.sh module for deploying Redis master-replica clusters.' \
-a 'org.opencontainers.image.documentation=https://github.com/stefanprodan/timoni/blob/main/examples/redis/README.md'

SCHEMA_VER ?= "0.13.1"
push-schemas: build
./bin/timoni artifact push oci://ghcr.io/stefanprodan/timoni/schemas \
-f ./schemas -t $(SCHEMA_VER) -t latest \
-a="org.opencontainers.image.source=https://github.com/stefanprodan/timoni" \
-a="org.opencontainers.image.revision=$(shell git rev-parse HEAD)" \
-a="org.opencontainers.image.licenses=Apache-2.0" \
-a="org.opencontainers.image.documentation=https://timoni.sh" \
-a="org.opencontainers.image.description=timoni.sh CUE schemas" \
--content-type="cue.mod/pkg"

.PHONY: install
install: ## Build and install the CLI binary.
go install ./cmd/timoni
Expand Down
2 changes: 2 additions & 0 deletions schemas/timoni.ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/*
!*.cue

0 comments on commit 356ed96

Please sign in to comment.