mirror of
https://git.nerdvpn.de/NerdVPN.de/invidious
synced 2026-02-14 22:51:42 +01:00
don't include SENTRY_DSN in the docker image
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user