feat(app): V6 UpgradeHandler #104
Workflow file for this run
This file contains 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: "Pull Request" | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
concurrency: | |
# Cancel old runs if there is a new commit in the same branch | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/setup-qemu-action@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- uses: actions/cache@v3 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ github.job }}-${{ runner.os }}-${{ github.event.pull_request.number }}-buildx | |
restore-keys: | | |
${{ github.job }}-${{ runner.os }}-${{ github.event.pull_request.number }}-buildx | |
# Build docker image | |
- name: Build docker image | |
uses: docker/build-push-action@v4 | |
with: | |
target: integration | |
push: false | |
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 |