Skip to content

Commit

Permalink
some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau authored and Robonau committed Dec 8, 2024
1 parent cbf5260 commit b609716
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ jobs:
- uses: kitabisa/docker-slim-action@v1
env:
DSLIM_HTTP_PROBE: false
DSLIM_PRESERVE_PATH: /usr/share/nginx/html
with:
target: ghcr.io/${{ needs.RepoName.outputs.value }}:latest
tag: 'slim'
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ RUN chmod +x /docker-entrypoint.d/set-env-variable.sh
RUN dos2unix /docker-entrypoint.d/set-env-variable.sh
RUN chown -R 101 /usr/share/nginx/html
USER 101
ENV suwayomi=example.com
ENV theme=skeleton
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]
1 change: 1 addition & 0 deletions set-env-variable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# exec "$@"

TMP=$(echo "$suwayomi" | sed "s@/\$@@")
echo $TMP

# get the resolver IPs from /etc/resolv.conf and make them nginx syntax
TMP2=$(awk '
Expand Down

0 comments on commit b609716

Please sign in to comment.