Skip to content

Commit

Permalink
node-bootstrap README
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Jun 28, 2023
1 parent cd2408d commit d252e9c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 15 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/node-bootstrap-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: node-bootstrap

on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- 'node-bootstrap/README.md'

env:
IMAGE_NAME: node-bootstrap

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Sync README.md to DockerHub
uses: ms-jpq/sync-dockerhub-readme@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}
readme: "./${{ env.IMAGE_NAME }}/README.md"
18 changes: 5 additions & 13 deletions .github/workflows/node-bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: node-bootstrap

on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- 'node-bootstrap/**'
# push:
# branches: [ "main" ]
# paths:
# - 'node-bootstrap/**'

env:
IMAGE_NAME: node-bootstrap
Expand Down Expand Up @@ -54,12 +54,4 @@ jobs:
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:latest
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:latest
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
- name: Sync README.md to DockerHub
uses: ms-jpq/sync-dockerhub-readme@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}
readme: "./${{ env.IMAGE_NAME }}/README.md"
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
1 change: 0 additions & 1 deletion node-bootstrap/Dockerfile

This file was deleted.

6 changes: 5 additions & 1 deletion node-bootstrap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ http-server hosting node modules for my projects locally
[5.3.0](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.0), [latest](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.0):
- [email protected]
- [email protected]
- [email protected]
- [email protected] with google fonts

## Usage

Expand All @@ -19,6 +19,10 @@ docker run --name node-bootstrap \
aceberg/node-bootstrap
```

## Supported apps
- [miniboard](https://github.com/aceberg/miniboard)
- [WatchYourLAN](https://github.com/aceberg/WatchYourLAN)

## GitHub

https://github.com/aceberg/my-dockerfiles/tree/main/node-bootstrap

0 comments on commit d252e9c

Please sign in to comment.