Skip to content

Commit

Permalink
Fixing docker namespace because KaruroChori is not lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
checkroom committed Nov 21, 2024
1 parent 74c633c commit 79281b2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ on:
# schedule:
# - cron: '30 11 20 */3 *'

env:
REGISTRY_IMAGE: ghcr.io/${{ github.repository_owner }}/vs-fltk

jobs:
build-env-image:
runs-on: ubuntu-24.04
steps:
- name: set lower case owner name
run: |
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
env:
OWNER: '${{ github.repository_owner }}'
REGISTRY_IMAGE: ghcr.io/${{ env.OWNER }}/vs-fltk
- name: Checkout
uses: actions/checkout@v4

Expand Down
5 changes: 5 additions & 0 deletions docker/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
HOSTUID=1000
HOSTGID=1000
IMAGE="ghcr.io/karurochori/vs-fltk:build-env"
ENTRYPOINT:$PWD/docker/default-entry.sh
SOURCE_ROOT=$PWD
6 changes: 3 additions & 3 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ file in /docker. The contents should be similar to:
```text
HOSTUID=1000
HOSTGID=1000
IMAGE="ghcr.io/KaruroChori/vs-fltk:build-env"
IMAGE="ghcr.io/karurochori/vs-fltk:build-env"
ENTRYPOINT:$PWD/docker/default-entry.sh
SOURCE_ROOT=$PWD
```
Expand All @@ -35,7 +35,7 @@ To run the image without using compose:
docker run -it --rm -v \
--entrypoint=$PWD/docker/default-entry.sh \
-v $PWD:/workspace \
ghcr.io/KaruroChori/vs-fltk:build-env
ghcr.io/karurochori/vs-fltk:build-env
```
-->

Expand All @@ -58,7 +58,7 @@ information about working with containers. You may, for example, want to

You can pull the image manually:

docker pull ghcr.io/KaruroChori/vs-fltk:build-env
docker pull ghcr.io/karurochori/vs-fltk:build-env

If you use `docker-compose` or `docker run ...` the image will be pulled
automatically the first time.
Expand Down
2 changes: 1 addition & 1 deletion docs/for-developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ Log levels are:
- **VERBOSE** to be emitted when running the program in verbose mode only
- **DEBUG** to be emitted always when running a debug build or in debugging mode.

Each messagge must specify their semantic type and log level (normal by default). Usually:
Each message must specify their semantic type and log level (normal by default). Usually:

- `panic` messages have a `silent` log level
- `ok` and `continue` messages are usually `verbose`
Expand Down

0 comments on commit 79281b2

Please sign in to comment.