From 4b722e46fc92a8d912faef6b0fcb1acfdea87c2b Mon Sep 17 00:00:00 2001 From: Nicolas KOKLA Date: Mon, 7 Oct 2024 17:28:44 +0200 Subject: [PATCH] Fix : Docker-publish environement variable --- .github/workflows/docker-publish.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 3b919150e..26cc64a32 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -2,13 +2,13 @@ name: Docker on: push: - branches: + branches: - "master" - "main" # Ajout de la branche main # Publish semver tags as releases. tags: [ 'v*.*.*' ] pull_request: - branches: + branches: - "master" - "main" # Ajout de la branche main @@ -17,6 +17,21 @@ env: REGISTRY: ghcr.io # github.repository as / IMAGE_NAME: ${{ github.repository }} + # App Configuration + NEXT_PUBLIC_ADRESSE_URL: ${{ vars.NEXT_PUBLIC_ADRESSE_URL }} + NEXT_PUBLIC_API_BAN_URL: ${{ vars.NEXT_PUBLIC_API_BAN_URL }} + # DataGouv & Beta.gouv API Configuration + NEXT_PUBLIC_DATAGOUV_URL: ${{ vars.NEXT_PUBLIC_DATAGOUV_URL }} + NEXT_PUBLIC_API_GEO_URL: ${{ vars.NEXT_PUBLIC_API_GEO_URL }} + NEXT_PUBLIC_API_ETABLISSEMENTS_PUBLIC: ${{ vars.NEXT_PUBLIC_API_ETABLISSEMENTS_PUBLIC }} + # Ghost Blog Configuration + NEXT_PUBLIC_GHOST_URL: ${{ vars.NEXT_PUBLIC_GHOST_URL }} + NEXT_PUBLIC_GHOST_URL_IMAGES_SOURCE: ${{ vars.NEXT_PUBLIC_GHOST_URL_IMAGES_SOURCE }} + NEXT_PUBLIC_GHOST_KEY: ${{ vars.NEXT_PUBLIC_GHOST_KEY }} + # BAL API Access Configuration + NEXT_PUBLIC_API_DEPOT_URL: ${{ vars.NEXT_PUBLIC_API_DEPOT_URL }} + NEXT_PUBLIC_BAL_ADMIN_API_URL: ${{ vars.NEXT_PUBLIC_BAL_ADMIN_API_URL }} + NEXT_PUBLIC_BAL_API_URL: ${{ vars.NEXT_PUBLIC_BAL_API_URL }} jobs: build: @@ -74,4 +89,4 @@ jobs: - name: Print Debug Info run: | echo "Registry: ${{ env.REGISTRY }}" - echo "Image Name: ${{ env.IMAGE_NAME }}" \ No newline at end of file + echo "Image Name: ${{ env.IMAGE_NAME }}"