From 80a5391ce5098263ca7e43308c5c2285bd8c6b83 Mon Sep 17 00:00:00 2001 From: Dyakov Roman Date: Thu, 25 Apr 2024 19:06:26 +0300 Subject: [PATCH] Fix reference --- .github/workflows/build_and_publish.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 587ed7e..ed2c15a 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -81,11 +81,11 @@ jobs: --detach \ --restart on-failure:3 \ --network=web \ - --env AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=${{ secrets.SQL_ALCHEMY_CONN }} \ - --env AIRFLOW__CORE__FERNET_KEY=${{ secrets.FERNET_KEY }} \ - --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_HEADERS: 'content-type, origin, authorization, accept' \ - --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_METHODS: 'GET, POST, PATCH, OPTIONS, DELETE' \ - --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_ORIGINS: 'https://api.test.profcomff.com' \ + --env AIRFLOW__DATABASE__SQL_ALCHEMY_CONN="${{ secrets.SQL_ALCHEMY_CONN }}" \ + --env AIRFLOW__CORE__FERNET_KEY="${{ secrets.FERNET_KEY }}" \ + --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_HEADERS="content-type, origin, authorization, accept" \ + --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_METHODS="GET, POST, PATCH, OPTIONS, DELETE" \ + --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_ORIGINS="https://api.test.profcomff.com" \ --name ${{ env.CONTAINER_NAME }} \ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test @@ -121,10 +121,10 @@ jobs: --detach \ --restart always \ --network=web \ - --env AIRFLOW__DATABASE__SQL_ALCHEMY_CONN='${{ secrets.SQL_ALCHEMY_CONN }}' \ - --env AIRFLOW__CORE__FERNET_KEY=${{ secrets.FERNET_KEY }} \ - --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_HEADERS: 'content-type, origin, authorization, accept' \ - --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_METHODS: 'GET, POST, PATCH, OPTIONS, DELETE' \ - --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_ORIGINS: 'https://api.profcomff.com' \ + --env AIRFLOW__DATABASE__SQL_ALCHEMY_CONN="${{ secrets.SQL_ALCHEMY_CONN }}" \ + --env AIRFLOW__CORE__FERNET_KEY="${{ secrets.FERNET_KEY }}" \ + --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_HEADERS="content-type, origin, authorization, accept" \ + --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_METHODS="GET, POST, PATCH, OPTIONS, DELETE" \ + --env AIRFLOW__API__ACCESS_CONTROL_ALLOW_ORIGINS="https://api.profcomff.com" \ --name ${{ env.CONTAINER_NAME }} \ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest