Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ziteh committed Sep 15, 2024
2 parents ba75384 + 8733412 commit 716c5bf
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docker Image CI

on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Print Docker version
run: docker version

- name: Build
run: docker build -t hie:${{ github.sha }} .

- name: Run
run: |
docker run -d --name hie -p 5888:3000 hie:${{ github.sha }}
sleep 10
- name: Test
run: |
curl --silent --fail http://localhost:5888 || exit 1
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

Types of changes:

- **Added** for new features.
- **Changed** for changes in existing functionality.
- **Deprecated** for soon-to-be removed features.
- **Removed** for now removed features.
- **Fixed** for any bug fixes.
- **Security** in case of vulnerabilities.

## Unreleased

## [0.1.0-alpha.1] - 2024-09-15

First release.

[0.1.0-alpha.1]: https://github.com/ziteh/hie/releases/tag/v0.1.0-alpha.1
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,24 @@ Hie - ***Hi***erarchical tag-based image ***E***xplorer.

## Usage

### Develop

```sh
pnpm install
pnpm run dev
```

### Docker

Check [`Dockerfile`](./Dockerfile).

```sh
# Build
docker build -t hie .

# Run and expose port 5888 on the host
docker run -d --name hie -p 5888:3000 -v <HOST_DIR>:/app/data hie

# Save image
docker save -o hie.tar hie
```

0 comments on commit 716c5bf

Please sign in to comment.