diff --git a/.github/workflows/deploy-azure-acr.yml b/.github/workflows/deploy-azure-acr.yml index 4f0657d..8759135 100644 --- a/.github/workflows/deploy-azure-acr.yml +++ b/.github/workflows/deploy-azure-acr.yml @@ -24,13 +24,20 @@ jobs: - name: Apply migrations run: >- docker run --rm - --volume ${{ github.workspace }}/migrations:/src/migrations:ro + --volume ${{ github.workspace }}/src/migrations:/flyway/sql:ro + --volume ${{ github.workspace }}/reports:/flyway/reports "${{ env.DOCKER_IMAGE }}" -url="${{ secrets.DB_PROD_URL }}" -user="${{ secrets.DB_PROD_USERNAME }}" -password="${{ secrets.DB_PROD_PASSWORD }}" migrate -schemas="${{ env.SCHEMAS }}" + - name: Upload Flyway report + uses: actions/upload-artifact@v3 + with: + name: Database Report + path: reports/ + - name: 'Docker Login' uses: azure/docker-login@v1 with: