Skip to content

Commit

Permalink
ci(docker): build docker image in single line command (#2731)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge authored May 13, 2024
1 parent 6fdf00e commit 81717f9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/docker-ecs-worker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ jobs:
- name: Build the Docker image (public and private)
run: |
docker build . \
--build-arg="WORKER_VERSION=${{ env.WORKER_VERSION }}" \
--tag public.ecr.aws/d8a4z9o5/artillery-worker:${{ env.WORKER_VERSION }} \
--tag 248481025674.dkr.ecr.eu-west-1.amazonaws.com/artillery-worker:${{ env.WORKER_VERSION }} \
-f ./packages/artillery/lib/platform/aws-ecs/worker/Dockerfile
docker build . --build-arg="WORKER_VERSION=${{ env.WORKER_VERSION }}" --tag public.ecr.aws/d8a4z9o5/artillery-worker:${{ env.WORKER_VERSION }} --tag 248481025674.dkr.ecr.eu-west-1.amazonaws.com/artillery-worker:${{ env.WORKER_VERSION }} -f ./packages/artillery/lib/platform/aws-ecs/worker/Dockerfile
- name: Push Docker image (Public - Fargate)
run: |
Expand Down

0 comments on commit 81717f9

Please sign in to comment.