Skip to content

Commit

Permalink
ci: fix docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge committed May 22, 2024
1 parent f99b2c5 commit 08e2829
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-ecs-worker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 08e2829

Please sign in to comment.