From 221334dbc1f1e8b73c26e25fc57624d06dca2b4c Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Thu, 16 Jan 2025 10:34:14 +0100 Subject: [PATCH] fix(ci): setup concurrency limitation and rename session to reflect unleash (not edge) --- .github/workflows/docker_publish.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker_publish.yaml b/.github/workflows/docker_publish.yaml index 015cfa9cec..bd79586a3d 100644 --- a/.github/workflows/docker_publish.yaml +++ b/.github/workflows/docker_publish.yaml @@ -1,5 +1,9 @@ name: Publish to dockerhub +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: @@ -42,7 +46,7 @@ jobs: uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: arn:aws:iam::726824350591:role/unleash-github-ecr-public-publish-role - role-session-name: edge-actions-push-to-ecr-public + role-session-name: unleash-actions-push-to-ecr-public aws-region: us-east-1 - name: Login to AWS ECR id: login-ecr-public