Skip to content

Commit

Permalink
ci: fix if
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge committed May 22, 2024
1 parent 08e2829 commit 128b560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-ecs-worker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,14 @@ jobs:
registry-type: public

- name: Build the Docker image (public)
if: matrix.registry == 'public'
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.DOCKER_TAG }} -f ./packages/artillery/lib/platform/aws-ecs/worker/Dockerfile
- name: Push Docker image (Public - Fargate)
if: matrix.registry == 'public'
env:
DOCKER_TAG: ${{ env.WORKER_VERSION }}-${{ matrix.platform_name }}
run: |
Expand Down

0 comments on commit 128b560

Please sign in to comment.