Skip to content

Commit

Permalink
updated readme, and workflow to match meschat version
Browse files Browse the repository at this point in the history
  • Loading branch information
cwilliams001 committed Jan 4, 2025
1 parent 3c16144 commit 7538a5d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

- name: Get MeshChat version
id: meshchat_version
run: |
MESHCHAT_VERSION=$(curl -s https://api.github.com/repos/liamcottle/reticulum-meshchat/releases/latest | jq -r .tag_name | sed 's/v//')
echo "version=$MESHCHAT_VERSION" >> $GITHUB_OUTPUT
echo "MeshChat version: $MESHCHAT_VERSION"
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -35,4 +42,4 @@ jobs:
push: true
tags: |
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.meshchat_version.outputs.version }}
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# KASM MeshChat Workspace

[![Docker Pulls](https://img.shields.io/docker/pulls/williamsct1/kasm-meshchat)](https://hub.docker.com/r/williamsct1/kasm-meshchat)
[![Docker Image Size](https://img.shields.io/docker/image-size/williamsct1/kasm-meshchat/latest)](https://hub.docker.com/r/williamsct1/kasm-meshchat)
[![Docker Image Version](https://img.shields.io/docker/v/williamsct1/kasm-meshchat/latest)](https://hub.docker.com/r/williamsct1/kasm-meshchat/tags)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/cwilliams001/kasm-meshchat/docker-build-push.yml)](https://github.com/cwilliams001/kasm-meshchat/actions)

## Container Registry

## Container Registry

The pre-built container image is available on Docker Hub:
- [williamsct1/kasm-meshchat](https://hub.docker.com/r/williamsct1/kasm-meshchat)
- Latest version: `docker pull williamsct1/kasm-meshchat:latest`
- Specific version: `docker pull williamsct1/kasm-meshchat:1.18.0`

> Note: The version number corresponds to the MeshChat version included in the image.
# KASM MeshChat Workspace

Expand Down

0 comments on commit 7538a5d

Please sign in to comment.