Skip to content

Commit

Permalink
fix: temporarily return .env configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilczaja committed Oct 8, 2024
1 parent fd588ed commit a70e235
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
type=sha
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=release,enable=${{ startsWith(github.ref, 'refs/tags/') }}
- name: "Docker: Build and Push Image"
- name: "Docker: Build and Push Image (authority-portal-backend)"
uses: docker/build-push-action@v4
with:
file: authority-portal-backend/authority-portal-quarkus/src/main/docker/Dockerfile.jvm
Expand All @@ -101,7 +101,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
network: host
- name: "Docker Image: catalog-crawler-dev"
- name: "Docker: Build and Push Image (catalog-crawler-dev)"
uses: ./.github/actions/build-connector-image
with:
registry-url: ${{ env.REGISTRY }}
Expand All @@ -112,7 +112,7 @@ jobs:
connector-name: "catalog-crawler-dev"
title: "Catalog Crawler (Dev)"
description: "sovity CE Catalog crawler for the sovity CE Authority Portal. This dev version contains no auth and can be used to quickly start a locally running Catalog Crawler."
- name: "Docker Image: catalog-crawler-ce"
- name: "Docker: Build and Push Image (catalog-crawler-ce)"
uses: ./.github/actions/build-connector-image
with:
registry-url: ${{ env.REGISTRY }}
Expand Down
6 changes: 6 additions & 0 deletions authority-portal-backend/catalog-crawler/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
# Do not set -u to permit unset variables in .env
set -eo pipefail

# Apply ENV Vars on JAR startup
set -a
source /app/.env
set +a


if [[ "x${1:-}" == "xstart" ]]; then
cmd=(java ${JAVA_ARGS:-})

Expand Down

0 comments on commit a70e235

Please sign in to comment.