From cc29543611468913e0c1f10dd01db99ae1408a33 Mon Sep 17 00:00:00 2001 From: yankay Date: Thu, 16 Dec 2021 20:18:36 +0800 Subject: [PATCH] update index --- Makefile | 1 + charts/README.md | 30 ++++++++++++++++++++++++++++++ index.yaml | 12 +++++++++++- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 charts/README.md diff --git a/Makefile b/Makefile index cde6042..8346293 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,7 @@ cross-release-container: cross-build-container helm-chart-release: @rm -rf index.yaml @rm -rf .cr-release-packages + @cp README.md charts/ @sed 's/VERSION/$(VERSION)/g' charts/Chart.sed.yaml > charts/Chart.yaml @sed 's/VERSION/$(VERSION)/g' charts/values.sed.yaml > charts/values.yaml @cr package charts/ diff --git a/charts/README.md b/charts/README.md new file mode 100644 index 0000000..dcedae9 --- /dev/null +++ b/charts/README.md @@ -0,0 +1,30 @@ +# 2048 + +[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/dao-2048)](https://artifacthub.io/packages/search?repo=dao-2048) + +2048 is a number puzzle game. When the squares of the same number are merged together, they will add up. Each round will have an extra square with 2 or 4 written on it, and the game ends when the square cannot be moved. Players have to find a way to make up a square with **2048** (or larger) in this small 16 squares. + +# Quick Start + +## Run as docker container + +open shell and input: + +``` +TAG="1.1.0-alpha.2" +docker run -d -p 8080:80 ghcr.io/daocloud/dao-2048:$TAG +``` + +open browser and view http://:8080 . + +## Run in kubernetes + +``` +helm repo add dao-2048 http://daocloud.github.io/dao-2048/ +helm install my-release dao-2048/dao-2048 +``` + + +### Thanks + +This image is derived from the Docker Hub image **[alexwhen/docker-2048](https://registry.hub.docker.com/u/alexwhen/docker-2048/)**, thanks to the developer**[alexwhen] (https://github.com/alexwhen)** enthusiastic support. diff --git a/index.yaml b/index.yaml index 28fdaed..f1fe08c 100644 --- a/index.yaml +++ b/index.yaml @@ -1,6 +1,16 @@ apiVersion: v1 entries: dao-2048: + - apiVersion: v2 + appVersion: 1.1.0-alpha.2-dirty + created: "2021-12-16T20:17:56.1907934+08:00" + description: 2048 is a number puzzle game. + digest: 3a8807ee29c01879a77b67c747374ea9ad9946cbbb170f3d083f37c0cb90af04 + name: dao-2048 + type: application + urls: + - https://github.com/DaoCloud/dao-2048/releases/download/dao-2048-1.1.0-alpha.2-dirty/dao-2048-1.1.0-alpha.2-dirty.tgz + version: 1.1.0-alpha.2-dirty - apiVersion: v2 appVersion: 1.1.0-alpha.1-dirty created: "2021-12-16T19:50:27.7753437+08:00" @@ -31,4 +41,4 @@ entries: urls: - https://github.com/DaoCloud/dao-2048/releases/download/dao-2048-0.1.0-alpha.1-dirty/dao-2048-0.1.0-alpha.1-dirty.tgz version: 0.1.0-alpha.1-dirty -generated: "2021-12-16T19:50:27.7753679+08:00" +generated: "2021-12-16T20:17:56.190822+08:00"