From 988ab173c11e8796b6fe6ee6ef0d080c33d7c5d7 Mon Sep 17 00:00:00 2001 From: Elise Ng Date: Thu, 20 Jun 2024 20:03:07 -0400 Subject: [PATCH 1/2] Setup docker buildx before building image in ci --- .github/workflows/authgear-ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/authgear-ci.yaml b/.github/workflows/authgear-ci.yaml index 854d5c70..a2551b2f 100644 --- a/.github/workflows/authgear-ci.yaml +++ b/.github/workflows/authgear-ci.yaml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 + - uses: docker/setup-qemu-action@v3 + - uses: docker/setup-buildx-action@v3 - name: docker login if: ${{ github.repository == 'authgear/docker-library-golang' && github.event_name == 'push' }} env: From cdc8816d2dadc1213fb86b1d18f4db8a3785e599 Mon Sep 17 00:00:00 2001 From: Elise Ng Date: Thu, 20 Jun 2024 20:05:32 -0400 Subject: [PATCH 2/2] Cancel in progress ci job on new push --- .github/workflows/authgear-ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/authgear-ci.yaml b/.github/workflows/authgear-ci.yaml index a2551b2f..2171f386 100644 --- a/.github/workflows/authgear-ci.yaml +++ b/.github/workflows/authgear-ci.yaml @@ -5,6 +5,10 @@ on: branches: - "master" +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: image: runs-on: ubuntu-24.04