Skip to content

Commit

Permalink
update index
Browse files Browse the repository at this point in the history
  • Loading branch information
yankay committed Dec 16, 2021
1 parent a2d0e68 commit cc29543
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
30 changes: 30 additions & 0 deletions charts/README.md
Original file line number Diff line number Diff line change
@@ -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://<server-ip>: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.
12 changes: 11 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"

0 comments on commit cc29543

Please sign in to comment.