Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build documents at the time of release #63

Merged
merged 2 commits into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,30 @@ jobs:
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}

man-page:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
concurrency:
group: "pages"
cancel-in-progress: false
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/[email protected]
- run: sudo apt-get update && sudo apt-get -y install groff
- run: make -C ./vlmcsd-* pdfdocs htmldocs
- run: |
install -d ./_site && install -t ./_site \
./vlmcsd-*/man/vlmcs*.{pdf,html} ./LICENSE ./README.md
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: "_site"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/[email protected]
23 changes: 6 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# docker-vlmcsd

[![ci_icon]][ci_link] [![docker_pulls]][docker_link] [![image_size]][docker_link]
[![Build](https://github.com/mogeko/docker-vlmcsd/actions/workflows/build.yml/badge.svg)](https://github.com/mogeko/docker-vlmcsd/actions/workflows/build.yml)
[![Docker Pulls](https://img.shields.io/docker/pulls/mogeko/vlmcsd?logo=docker)](https://hub.docker.com/r/mogeko/vlmcsd)
[![Docker Image Size](https://img.shields.io/docker/image-size/mogeko/vlmcsd?logo=docker)](https://hub.docker.com/r/mogeko/vlmcsd)

A rootless container running [vlmcsd](https://cdn.jsdelivr.net/gh/mogeko/docker-vlmcsd@master/vlmcsd-1113/man/vlmcsd.8.pdf).
A rootless container running [vlmcsd](https://mogeko.github.io/docker-vlmcsd/vlmcsd.8.pdf).

**Since March 2023, vlmcsd images has been upgraded to a `rootless` container, it based on ["Distroless" image](https://github.com/GoogleContainerTools/distroless) and uses [Buildah](https://buildah.io) as a container compilation engine.** [Why do we use them?](#about-distroless-images-and-buildah).

Expand All @@ -20,7 +22,7 @@ Run with docker cli:
docker run -d --name vlmcsd -p 1688:1688 --restart unless-stopped ghcr.io/mogeko/vlmcsd:latest
```

Run with [docker-compose]:
Run with [docker-compose](https://docs.docker.com/compose):

```yml
---
Expand Down Expand Up @@ -64,17 +66,4 @@ As for [Buildah](https://buildah.io). It is a container mirror compilation engin

## License

The code in this project is released under the [MIT License][license].

<!-- badge -->

[ci_icon]: https://github.com/mogeko/docker-vlmcsd/actions/workflows/build.yml/badge.svg
[ci_link]: https://github.com/mogeko/docker-vlmcsd/actions/workflows/build.yml
[docker_pulls]: https://img.shields.io/docker/pulls/mogeko/vlmcsd?logo=docker
[image_size]: https://img.shields.io/docker/image-size/mogeko/vlmcsd?logo=docker
[docker_link]: https://hub.docker.com/r/mogeko/vlmcsd

<!-- links -->

[docker-compose]: https://docs.docker.com/compose
[license]: https://github.com/mogeko/docker-vlmcsd/blob/master/LICENSE
The code in this project is released under the [MIT License](./LICENSE).
Loading