Skip to content

Commit

Permalink
Merge pull request #127 from unboxed/docker-ecr-direct-push
Browse files Browse the repository at this point in the history
Push directly to ECR repository to save time spent on exporting
  • Loading branch information
benjamineskola authored Aug 11, 2023
2 parents 4679051 + 362d165 commit 5ebcc9f
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 5ebcc9f

Please sign in to comment.