diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 057a690..c0aef36 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -61,7 +61,6 @@ jobs: context: ./ file: ./Dockerfile.new build-args: | - SENTRY_DSN=$SENTRY_DSN release=1 platforms: linux/amd64,linux/arm64/v8 push: true @@ -73,7 +72,6 @@ jobs: with: context: ./ build-args: | - SENTRY_DSN=$SENTRY_DSN release=1 file: ./Dockerfile push: true diff --git a/Dockerfile.new b/Dockerfile.new index 7b4e801..972f530 100644 --- a/Dockerfile.new +++ b/Dockerfile.new @@ -4,6 +4,7 @@ RUN apk add --no-cache 'crystal=1.2.1-r0' shards sqlite-static yaml-static yaml- WORKDIR /invidious COPY ./invidious/shard.yml ./shard.yml COPY ./invidious/shard.lock ./shard.lock +# Sentry is just for reporting Invidious crashes, no personal data is collected. RUN yq e -i '.dependencies.raven.github = "Sija/raven.cr"' shard.yml RUN yq e -i '.targets.sentry_crash_handler.main = "lib/raven/src/crash_handler.cr"' shard.yml RUN shards install