|
35 | 35 | env: |
36 | 36 | TZ: 'America/Los_Angeles' |
37 | 37 | steps: |
| 38 | + - uses: actions/checkout@v4 |
38 | 39 | - name: Setup Timezone |
39 | 40 | uses: szenius/set-timezone@v1.1 |
40 | 41 | with: |
|
43 | 44 | - name: Pull SQRL Docker image |
44 | 45 | run: docker pull datasqrl/cmd:v0.5.6 |
45 | 46 |
|
| 47 | + - name: Set up QEMU |
| 48 | + uses: docker/setup-qemu-action@v2 |
| 49 | + - name: Set up Docker Buildx |
| 50 | + uses: docker/setup-buildx-action@v2 |
| 51 | + - name: Login to Docker Hub |
| 52 | + uses: docker/login-action@v2 |
| 53 | + with: |
| 54 | + username: ${{ secrets.DOCKER_USERNAME }} |
| 55 | + password: ${{ secrets.DOCKER_PASSWORD }} |
| 56 | + |
46 | 57 | - name: Run Healthcare Analytics Test |
47 | 58 | if: ${{ github.event.inputs.example == 'healthcare' }} |
48 | 59 | working-directory: ./healthcare-study-monitoring |
@@ -72,19 +83,26 @@ jobs: |
72 | 83 | continue-on-error: false |
73 | 84 |
|
74 | 85 | - name: Run Finance Analytics Test |
75 | | - if: ${{ github.event.inputs.example == 'finance' }} |
76 | | - working-directory: ./finance-credit-card-chatbot |
| 86 | + working-directory: finance-credit-card-chatbot/ |
77 | 87 | run: | |
78 | 88 | docker run -i -p 8888:8888 -p 8081:8081 --rm -v $PWD:/build datasqrl/cmd:v0.5.6 test -c package-analytics-local.json --snapshot snapshots-analytics |
79 | 89 | continue-on-error: false |
80 | 90 |
|
81 | 91 | - name: Run Finance Rewards Test |
82 | | - if: ${{ github.event.inputs.example == 'finance' }} |
83 | | - working-directory: ./finance-credit-card-chatbot |
| 92 | + working-directory: finance-credit-card-chatbot/ |
84 | 93 | run: | |
85 | 94 | docker run -i -p 8888:8888 -p 8081:8081 --rm -v $PWD:/build datasqrl/cmd:v0.5.6 test test -c package-rewards-local.json --snapshot snapshots-rewards |
86 | 95 | continue-on-error: false |
87 | 96 |
|
| 97 | + - name: Publish finance |
| 98 | + uses: docker/build-push-action@v3 |
| 99 | + with: |
| 100 | + context: finance-credit-card-chatbot |
| 101 | + file: finance-credit-card-chatbot/Dockerfile |
| 102 | + push: true |
| 103 | + tags: datasqrl/examples:finance |
| 104 | + platforms: linux/amd64,linux/arm64 |
| 105 | + |
88 | 106 | - name: Run Clickstream Recommendation Test |
89 | 107 | if: ${{ github.event.inputs.example == 'recommendation' }} |
90 | 108 | working-directory: ./clickstream-ai-recommendation |
|
0 commit comments