Skip to content
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
15 changes: 10 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,22 @@ on:
- main
paths:
- '.github/**'

permissions:
contents: write
packages: write


jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_LOGIN }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -28,5 +33,5 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: |
rickraven/logdy:latest
rickraven/logdy:0.14.0
ghcr.io/${{ env.REPO_OWNER }}/logdy:latest
ghcr.io/${{ env.REPO_OWNER }}/logdy:0.16.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.21

ENV LOGDY_VERSION=0.14.0
ENV LOGDY_VERSION=0.16.0

ADD "https://github.com/logdyhq/logdy-core/releases/download/v${LOGDY_VERSION}/logdy_linux_amd64" /usr/local/bin/logdy
COPY docker_entrypoint /docker_entrypoint
Expand Down
1 change: 1 addition & 0 deletions docker_entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ echo "Configuring logdy service"

if [ -z $LOGDY_PORT ]; then LOGDY_CMD=" $LOGDY_CMD --port=8080"; else LOGDY_CMD=" $LOGDY_CMD --port=$LOGDY_PORT"; fi
if [ ! -z $LOGDY_PASS ]; then LOGDY_CMD=" $LOGDY_CMD --ui-pass=$LOGDY_PASS"; fi
if [ ! -z $LOGDY_CONFIG ]; then LOGDY_CMD=" $LOGDY_CMD --config=$LOGDY_CONFIG"; fi
if [ -z $LOGDY_MAX_MESSAGE ]; then LOGDY_CMD=" $LOGDY_CMD --max-message-count=1000"; else LOGDY_CMD=" $LOGDY_CMD --max-message-count=$LOGDY_MAX_MESSAGE"; fi

if [ -z $LOGDY_API_KEY ]; then
Expand Down