Skip to content

Commit

Permalink
Push directly to ECR repository to save time spent on exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamineskola committed Aug 11, 2023
1 parent 79e2762 commit 362d165
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ jobs:
DOCKER_BUILDKIT=1 docker buildx build \
--cache-to type=gha,mode=max \
--cache-from type=gha \
--load \
-t paapi:$IMAGE_TAG -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfile.production .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
--push \
-t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfile.production .
deploy-db-migrate-service:
name: Perform database migrations on ${{ inputs.environment-name }}
Expand Down

0 comments on commit 362d165

Please sign in to comment.