Skip to content
Permalink
Browse files

Fix Sentry release tagging

Fixes #210
  • Loading branch information
HenningCash committed Oct 14, 2019
1 parent 02dd3e4 commit 84f6f326b42ffc322768eaf7987b0213a756445c
Showing with 4 additions and 4 deletions.
  1. +4 −4 Dockerfile
@@ -1,15 +1,15 @@
FROM gradle:jdk8 AS build

ARG GIT_COMMIT=""
ARG GIT_TAG=""

COPY . /build

WORKDIR /build
RUN ./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false clean bootJar

FROM openjdk:8-alpine

ARG GIT_COMMIT=""
ARG GIT_TAG="$GIT_COMMIT"

# Add some system dependecies required by libraries
# - gcompat for jsass
RUN apk add --no-cache gcompat
@@ -32,7 +32,7 @@ USER code-freak

# Override this when running the container with -e SPRING_PROFILES_ACTIVE="dev"
ENV SPRING_PROFILES_ACTIVE "prod"
ENV SENTRY_ENVIRONMENT "prod"
ENV SENTRY_ENVIRONMENT "$SPRING_PROFILES_ACTIVE"
ENV SENTRY_RELEASE "${GIT_TAG}"

WORKDIR /app

0 comments on commit 84f6f32

Please sign in to comment.
You can’t perform that action at this time.