[TA-4798][TA-4797]: auth0 forms and actions #19
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Integration" | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize ] | |
| push: | |
| branches: [ 'main' ] | |
| concurrency: | |
| # Cancel old runs if there is a new commit in the same branch | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| # Checkout repository under $GITHUB_WORKSPACE path | |
| - name: Repository checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - uses: actions/cache@v3 | |
| with: | |
| path: /tmp/.buildx-cache | |
| key: ${{ github.job }}-${{ runner.os }}-buildx-base | |
| restore-keys: | | |
| ${{ github.job }}-${{ runner.os }}-buildx-base | |
| # Build docker image | |
| - name: Build docker image | |
| uses: docker/build-push-action@v4 | |
| with: | |
| file: Dockerfile | |
| cache-from: type=local,src=/tmp/.buildx-cache | |
| cache-to: type=local,dest=/tmp/.buildx-cache-new | |
| - name: Move cache | |
| if: always() | |
| run: | | |
| rm -rf /tmp/.buildx-cache | |
| mv /tmp/.buildx-cache-new /tmp/.buildx-cache |