From 88cd951f9f6deb2aa6c163aa575d08f806ccf9df Mon Sep 17 00:00:00 2001 From: Max Isom Date: Thu, 3 Dec 2020 16:02:51 -0500 Subject: [PATCH] Add Turnstyle --- .github/workflows/publish-image.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 8fcddc4..5895d01 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -27,6 +27,11 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Limit concurrent builds to 1 + uses: softprops/turnstyle@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build and push id: docker_build