@@ -116,47 +116,47 @@ jobs:
116116 cache-from : type=gha
117117 cache-to : type=gha,mode=max
118118
119- # # Build and push Airflow webserver
120- # - name: Extract Airflow webserver Docker metadata
121- # id: airflow_webserver_meta
122- # uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
123- # with:
124- # images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-webserver
125- # tags: |
126- # type=raw,value=${{ env.IMAGE_TAG }}
127- # type=raw,value=${{ github.sha }}
128- # type=raw,value=${{ env.RUN_TIMESTAMP }}
129-
130- # - name: Build and push Airflow webserver image
131- # uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
132- # with:
133- # context: ./app/airflow
134- # file: ./app/airflow/Dockerfile
135- # build-args: AIRFLOW_COMPONENT=webserver
136- # push: true
137- # platforms: linux/amd64,linux/arm64
138- # tags: ${{ steps.airflow_webserver_meta.outputs.tags }}
139-
140- # # Build and push Airflow scheduler
141- # - name: Extract Airflow scheduler Docker metadata
142- # id: airflow_scheduler_meta
143- # uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
144- # with:
145- # images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-scheduler
146- # tags: |
147- # type=raw,value=${{ env.IMAGE_TAG }}
148- # type=raw,value=${{ github.sha }}
149- # type=raw,value=${{ env.RUN_TIMESTAMP }}
150-
151- # - name: Build and push Airflow scheduler image
152- # uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
153- # with:
154- # context: ./app/airflow
155- # file: ./app/airflow/Dockerfile
156- # build-args: AIRFLOW_COMPONENT=scheduler
157- # push: true
158- # platforms: linux/amd64,linux/arm64
159- # tags: ${{ steps.airflow_scheduler_meta.outputs.tags }}
119+ # Build and push Airflow webserver
120+ - name : Extract Airflow webserver Docker metadata
121+ id : airflow_webserver_meta
122+ uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
123+ with :
124+ images : ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-webserver
125+ tags : |
126+ type=raw,value=${{ env.IMAGE_TAG }}
127+ type=raw,value=${{ github.sha }}
128+ type=raw,value=${{ env.RUN_TIMESTAMP }}
129+
130+ - name : Build and push Airflow webserver image
131+ uses : docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
132+ with :
133+ context : ./app/airflow
134+ file : ./app/airflow/Dockerfile
135+ build-args : AIRFLOW_COMPONENT=webserver
136+ push : true
137+ platforms : linux/amd64,linux/arm64
138+ tags : ${{ steps.airflow_webserver_meta.outputs.tags }}
139+
140+ # Build and push Airflow scheduler
141+ - name : Extract Airflow scheduler Docker metadata
142+ id : airflow_scheduler_meta
143+ uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
144+ with :
145+ images : ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-scheduler
146+ tags : |
147+ type=raw,value=${{ env.IMAGE_TAG }}
148+ type=raw,value=${{ github.sha }}
149+ type=raw,value=${{ env.RUN_TIMESTAMP }}
150+
151+ - name : Build and push Airflow scheduler image
152+ uses : docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
153+ with :
154+ context : ./app/airflow
155+ file : ./app/airflow/Dockerfile
156+ build-args : AIRFLOW_COMPONENT=scheduler
157+ push : true
158+ platforms : linux/amd64,linux/arm64
159+ tags : ${{ steps.airflow_scheduler_meta.outputs.tags }}
160160
161161 # =============================================================================
162162 # DEPLOY TO DEV ENVIRONMENT
@@ -176,16 +176,16 @@ jobs:
176176 publish-profile : ${{ secrets.AZURE_WEBAPP_NEXT_PUBLISH_PROFILE }}
177177 images : ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend:${{ env.IMAGE_TAG }}
178178
179- # - name: Deploy Airflow Webserver to Dev
180- # uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
181- # with:
182- # app-name: ${{ vars.AIRFLOW_WEBSERVER_NAME }}
183- # publish-profile: ${{ secrets.AIRFLOW_WEBSERVER_PUBLISH_PROFILE }}
184- # images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-webserver:${{ env.IMAGE_TAG }}
185-
186- # - name: Deploy Airflow Scheduler to Dev
187- # uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
188- # with:
189- # app-name: ${{ vars.AIRFLOW_SCHEDULER_NAME }}
190- # publish-profile: ${{ secrets.AIRFLOW_SCHEDULER_PUBLISH_PROFILE }}
191- # images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-scheduler:${{ env.IMAGE_TAG }}
179+ - name : Deploy Airflow Webserver to Dev
180+ uses : azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
181+ with :
182+ app-name : ${{ vars.AIRFLOW_WEBSERVER_NAME }}
183+ publish-profile : ${{ secrets.AIRFLOW_WEBSERVER_PUBLISH_PROFILE }}
184+ images : ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-webserver:${{ env.IMAGE_TAG }}
185+
186+ - name : Deploy Airflow Scheduler to Dev
187+ uses : azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
188+ with :
189+ app-name : ${{ vars.AIRFLOW_SCHEDULER_NAME }}
190+ publish-profile : ${{ secrets.AIRFLOW_SCHEDULER_PUBLISH_PROFILE }}
191+ images : ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/airflow-scheduler:${{ env.IMAGE_TAG }}
0 commit comments