File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ defaults:
1010permissions :
1111 contents : read
1212 packages : write
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.ref }}
15+ cancel-in-progress : true
1316jobs :
1417 configure :
1518 runs-on : ubuntu-latest
4447 image : ghcr.io/douglasneuroinformatics/open-data-capture-gateway
4548 - dockerfile : ./apps/web/Dockerfile
4649 image : ghcr.io/douglasneuroinformatics/open-data-capture-web
47- if : ${{ needs.configure.outputs.is_release }}
4850 steps :
4951 - name : Checkout Repository
5052 uses : actions/checkout@v4
5557 - name : Set Up Docker Buildx
5658 uses : docker/setup-buildx-action@v3
5759 - name : Login to Container Registry
60+ if : ${{ needs.configure.outputs.is_release }}
5861 uses : docker/login-action@v3
5962 with :
6063 registry : ghcr.io
7376 with :
7477 context : .
7578 file : ${{ matrix.dockerfile }}
76- push : true
79+ push : ${{ needs.configure.outputs.is_release }}
7780 platforms : linux/amd64,linux/arm64
7881 tags : ${{ steps.meta.outputs.tags }}
7982 labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments