From 08e282970422b67a4688ae94bd1d2c13ca207098 Mon Sep 17 00:00:00 2001 From: Bernardo Guerreiro Date: Wed, 22 May 2024 15:19:28 +0100 Subject: [PATCH] ci: fix docker tag --- .github/workflows/docker-ecs-worker-image.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-ecs-worker-image.yml b/.github/workflows/docker-ecs-worker-image.yml index dd16a0b3c4..b601125ae4 100644 --- a/.github/workflows/docker-ecs-worker-image.yml +++ b/.github/workflows/docker-ecs-worker-image.yml @@ -99,11 +99,13 @@ jobs: env: DOCKER_TAG: ${{ env.WORKER_VERSION }}-${{ matrix.platform_name }} run: | - docker build . --platform ${{ matrix.platform }} --build-arg="WORKER_VERSION=${{ env.WORKER_VERSION }}" --tag public.ecr.aws/d8a4z9o5/artillery-worker:${{ env.WORKER_VERSION }} -f ./packages/artillery/lib/platform/aws-ecs/worker/Dockerfile + docker build . --platform ${{ matrix.platform }} --build-arg="WORKER_VERSION=${{ env.WORKER_VERSION }}" --tag public.ecr.aws/d8a4z9o5/artillery-worker:${{ env.DOCKER_TAG }} -f ./packages/artillery/lib/platform/aws-ecs/worker/Dockerfile - name: Push Docker image (Public - Fargate) + env: + DOCKER_TAG: ${{ env.WORKER_VERSION }}-${{ matrix.platform_name }} run: | - docker push public.ecr.aws/d8a4z9o5/artillery-worker:${{ env.WORKER_VERSION }} + docker push public.ecr.aws/d8a4z9o5/artillery-worker:${{ env.DOCKER_TAG }} # - name: Configure AWS Credentials (Private ECR) # if: matrix.registry == 'private'