Skip to content

Commit

Permalink
analytics version change and Documents CD reverting
Browse files Browse the repository at this point in the history
  • Loading branch information
alanraju-aot committed Dec 19, 2024
1 parent 450509c commit f147395
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 20 deletions.
42 changes: 23 additions & 19 deletions .github/workflows/forms-flow-documents-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,31 @@ jobs:
- name: Build and push Docker image
if: ${{ github.ref != 'refs/heads/master' }}
run: |
docker buildx create --name mybuilder --use
cd ./forms-flow-documents
docker buildx build \
--platform linux/amd64,linux/arm64 \
--file Dockerfile \
--file Dockerfile-ARM64 \
--tags: ${{ steps.meta.outputs.tags }}
--labels: ${{ steps.meta.outputs.labels }}
uses: docker/build-push-action@v4
with:
context: forms-flow-documents
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker image
if: ${{ github.ref == 'refs/heads/master' }}
run: |
docker buildx create --name mybuilder --use
cd ./forms-flow-documents
docker buildx build \
--platform linux/amd64,linux/arm64 \
--file Dockerfile \
--file Dockerfile-ARM64 \
--tags: ${{ steps.meta.outputs.tags }}, formsflow/forms-flow-documents-api:latest
--labels: ${{ steps.meta.outputs.labels }}
uses: docker/build-push-action@v4
with:
context: forms-flow-documents
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}, formsflow/forms-flow-documents-api:latest
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker image - arm64
uses: docker/build-push-action@v4
with:
context: forms-flow-documents
file: forms-flow-documents/Dockerfile-ARM64
push: true
platforms: linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}-arm64
labels: ${{ steps.meta.outputs.labels }}
- name: Scan Docker image 🐳
uses: snyk/actions/docker@master
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-analytics/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "3.7"

x-redash-service: &redash-service
image: formsflow/redash:10.1.5
image: formsflow/redash:24.04.0
depends_on:
- postgres
- redis
Expand Down

0 comments on commit f147395

Please sign in to comment.