Skip to content

Commit 9f40a80

Browse files
committed
Redeploy frontend
1 parent 5c91271 commit 9f40a80

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

.github/workflows/build-and-deploy-dev.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -94,27 +94,27 @@ jobs:
9494
platforms: linux/amd64,linux/arm64
9595
tags: ${{ steps.backend_meta.outputs.tags }}
9696

97-
# # Build and push frontend
98-
# - name: Extract frontend Docker metadata
99-
# id: frontend_meta
100-
# uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
101-
# with:
102-
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend
103-
# tags: |
104-
# type=raw,value=${{ env.IMAGE_TAG }}
105-
# type=raw,value=${{ github.sha }}
106-
# type=raw,value=${{ env.RUN_TIMESTAMP }}
97+
# Build and push frontend
98+
- name: Extract frontend Docker metadata
99+
id: frontend_meta
100+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
101+
with:
102+
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend
103+
tags: |
104+
type=raw,value=${{ env.IMAGE_TAG }}
105+
type=raw,value=${{ github.sha }}
106+
type=raw,value=${{ env.RUN_TIMESTAMP }}
107107
108-
# - name: Build and push frontend image
109-
# uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
110-
# with:
111-
# context: ./app/next-client-app
112-
# file: ./app/next-client-app/Dockerfile
113-
# push: true
114-
# platforms: linux/amd64,linux/arm64
115-
# tags: ${{ steps.frontend_meta.outputs.tags }}
116-
# cache-from: type=gha
117-
# cache-to: type=gha,mode=max
108+
- name: Build and push frontend image
109+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
110+
with:
111+
context: ./app/next-client-app
112+
file: ./app/next-client-app/Dockerfile
113+
push: true
114+
platforms: linux/amd64,linux/arm64
115+
tags: ${{ steps.frontend_meta.outputs.tags }}
116+
cache-from: type=gha
117+
cache-to: type=gha,mode=max
118118

119119
# # Build and push Airflow webserver
120120
# - name: Extract Airflow webserver Docker metadata
@@ -169,12 +169,12 @@ jobs:
169169
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
170170
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/backend:${{ env.IMAGE_TAG }}
171171

172-
# - name: Deploy Frontend to Dev
173-
# uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
174-
# with:
175-
# app-name: ${{ vars.AZURE_WEBAPP_NEXT_NAME }}
176-
# publish-profile: ${{ secrets.AZURE_WEBAPP_NEXT_PUBLISH_PROFILE }}
177-
# images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend:${{ env.IMAGE_TAG }}
172+
- name: Deploy Frontend to Dev
173+
uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2
174+
with:
175+
app-name: ${{ vars.AZURE_WEBAPP_NEXT_NAME }}
176+
publish-profile: ${{ secrets.AZURE_WEBAPP_NEXT_PUBLISH_PROFILE }}
177+
images: ${{ env.registry }}/${{ env.repo-owner }}/${{ env.app-name }}/frontend:${{ env.IMAGE_TAG }}
178178

179179
# - name: Deploy Airflow Webserver to Dev
180180
# uses: azure/webapps-deploy@2fdd5c3ebb4e540834e86ecc1f6fdcd5539023ee # v3.0.2

0 commit comments

Comments
 (0)