don't include SENTRY_DSN in the docker image

This commit is contained in:
Émilien Devos
2021-10-26 14:16:46 +00:00
committed by GitHub
parent ac9fbca5c2
commit e3d10dbfbf
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -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
+1
View File
@@ -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