From 313c5c9b8a41cc66a28ead2b1e99662c86a6412c Mon Sep 17 00:00:00 2001 From: u$f Date: Wed, 22 Jan 2025 16:33:00 +0100 Subject: [PATCH] edit --- .github/workflows/release.yml | 22 +++++++++++----------- Dockerfile | 1 + docker/rungnx.sh | 8 +++----- package.json | 2 +- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c995f53..85d6a2b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,14 +42,14 @@ jobs: context: . tags: "oneteme/${{ github.event.repository.name }}:${{ steps.extract.outputs.minVer }}" push: true - release: - needs: - - build - - deploy - runs-on: ubuntu-latest - steps: - - uses: oneteme/automation-scripts/.github/actions/create-release-notes@main - with: - version: ${{ needs.build.outputs.version }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + # release: + # needs: + # - build + # - deploy + # runs-on: ubuntu-latest + # steps: + # - uses: oneteme/automation-scripts/.github/actions/create-release-notes@main + # with: + # version: ${{ needs.build.outputs.version }} + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 31831f2..3c32d08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,6 @@ COPY docker/nginx.conf /etc/nginx/nginx.conf COPY docker/rungnx.sh /usr/local/bin/rungnx.sh COPY docker/config-env.map /usr/local/bin/config-env.map RUN chmod +x /usr/local/bin/rungnx.sh +RUN chmod +r /usr/local/bin/config-env.map EXPOSE 80 ENTRYPOINT ["rungnx.sh", "/usr/share/nginx/html/environment.remote.json"] \ No newline at end of file diff --git a/docker/rungnx.sh b/docker/rungnx.sh index 02c7842..6a8d9c7 100644 --- a/docker/rungnx.sh +++ b/docker/rungnx.sh @@ -1,12 +1,10 @@ #!/bin/sh -echo environment configuration ... -OUT=${1:-"environment.remote.json"} +echo environment configuration ... +OUT=${1:-"environment.remote.json"} DIR=$(dirname "$0") -echo "map : $DIR" - MAP=$(< "$DIR/config-env.map") -echo "map : $MAP" +echo "map=$MAP" ENTRIES="" for ENTRY in $MAP; do #separate var with space diff --git a/package.json b/package.json index b46ab9d..36bccfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "inspect-app", - "version": "15.12.0", + "version": "15.13.0", "scripts": { "ng": "ng", "start": "ng serve",