Skip to content

Commit

Permalink
PRO-610 FIX pull the ghcr image first
Browse files Browse the repository at this point in the history
  • Loading branch information
bender2352 committed Nov 20, 2024
1 parent 31585f1 commit e1354c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/deploy_ecs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ ECR_IMAGE="${AWS_ACCOUNT_NUMBER}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/${E
# Authenticate Docker to ECR
aws ecr get-login-password --region "$AWS_DEFAULT_REGION" | docker login --username AWS --password-stdin "${AWS_ACCOUNT_NUMBER}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com"

# Pull the image from GHCR
docker pull "$GHCR_IMAGE"

# Tag the image for ECR
docker tag "$GHCR_IMAGE" "$ECR_IMAGE"

Expand Down

0 comments on commit e1354c2

Please sign in to comment.